fathom/docker-compose.yml

35 lines
919 B
YAML
Raw Normal View History

version: "3"
services:
fathom:
2018-06-08 14:12:18 +00:00
image: usefathom/fathom:latest
ports:
- "8080:8080"
environment:
- "FATHOM_SERVER_ADDR=:8080"
- "FATHOM_GZIP=true"
2018-06-08 14:12:18 +00:00
- "FATHOM_DEBUG=false"
- "FATHOM_DATABASE_DRIVER=mysql"
- "FATHOM_DATABASE_NAME=fathom"
- "FATHOM_DATABASE_USER=fathom"
- "FATHOM_DATABASE_PASSWORD=password01"
- "FATHOM_DATABASE_HOST=mysql:3306"
2018-06-08 14:12:18 +00:00
- "FATHOM_SECRET=TWEn6GXQDx45PZfmJWvyGpXf5M8b94bszgw8JcJWEd6WxgrnUkLatS34GwjPTvZb"
links:
- "mysql:mysql"
depends_on:
- mysql
restart: always
mysql:
image: "mysql:5"
volumes:
- ./mysql-data:/var/lib/mysql
ports:
- "127.0.0.1:3306:3306"
environment:
- "MYSQL_ALLOW_EMPTY_PASSWORD=false"
- "MYSQL_DATABASE=fathom"
- "MYSQL_PASSWORD=password01"
- "MYSQL_ROOT_PASSWORD=password01"
- "MYSQL_USER=fathom"
restart: always