2018-05-10 20:21:31 +00:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
fathom:
|
2018-06-08 14:12:18 +00:00
|
|
|
image: usefathom/fathom:latest
|
2018-05-10 20:21:31 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
environment:
|
2018-06-08 14:16:09 +00:00
|
|
|
- "FATHOM_SERVER_ADDR=:8080"
|
2018-11-13 14:25:55 +00:00
|
|
|
- "FATHOM_GZIP=true"
|
2018-06-08 14:12:18 +00:00
|
|
|
- "FATHOM_DEBUG=false"
|
2018-05-10 20:21:31 +00:00
|
|
|
- "FATHOM_DATABASE_DRIVER=mysql"
|
|
|
|
- "FATHOM_DATABASE_NAME=fathom"
|
|
|
|
- "FATHOM_DATABASE_USER=fathom"
|
|
|
|
- "FATHOM_DATABASE_PASSWORD=password01"
|
2018-06-16 08:46:22 +00:00
|
|
|
- "FATHOM_DATABASE_HOST=mysql:3306"
|
2018-06-08 14:12:18 +00:00
|
|
|
- "FATHOM_SECRET=TWEn6GXQDx45PZfmJWvyGpXf5M8b94bszgw8JcJWEd6WxgrnUkLatS34GwjPTvZb"
|
2018-06-16 08:46:22 +00:00
|
|
|
links:
|
|
|
|
- "mysql:mysql"
|
|
|
|
depends_on:
|
|
|
|
- mysql
|
|
|
|
restart: always
|
2018-05-10 20:21:31 +00:00
|
|
|
mysql:
|
|
|
|
image: "mysql:5"
|
2018-06-16 08:46:22 +00:00
|
|
|
volumes:
|
|
|
|
- ./mysql-data:/var/lib/mysql
|
2018-05-10 20:21:31 +00:00
|
|
|
ports:
|
2018-06-16 08:46:22 +00:00
|
|
|
- "127.0.0.1:3306:3306"
|
2018-05-10 20:21:31 +00:00
|
|
|
environment:
|
|
|
|
- "MYSQL_ALLOW_EMPTY_PASSWORD=false"
|
|
|
|
- "MYSQL_DATABASE=fathom"
|
|
|
|
- "MYSQL_PASSWORD=password01"
|
|
|
|
- "MYSQL_ROOT_PASSWORD=password01"
|
|
|
|
- "MYSQL_USER=fathom"
|
2018-06-16 08:46:22 +00:00
|
|
|
restart: always
|