trusted-setup-server/docker-compose.yml

35 lines
648 B
YAML
Raw Normal View History

2020-01-30 13:29:30 +01:00
version: '2'
services:
app:
build: .
restart: always
environment:
2020-01-31 18:03:09 +01:00
VIRTUAL_HOST: ceremony.tornado.cash
LETSENCRYPT_HOST: ceremony.tornado.cash
2020-01-30 13:29:30 +01:00
nginx_client_max_body_size: 50m
nginx_proxy_read_timeout: 600s
2020-01-30 13:29:30 +01:00
MYSQL_HOST: mysql
2020-02-07 16:21:34 +01:00
env_file: .env.production
2020-04-13 17:41:49 +02:00
volumes:
- app:/app/server/snark_files
2020-01-31 18:03:09 +01:00
depends_on:
- mysql
2020-01-30 13:29:30 +01:00
mysql:
image: mysql:5.7
restart: always
2020-02-07 16:21:34 +01:00
env_file: .env.production
2020-01-30 13:29:30 +01:00
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
volumes:
- mysql:/var/lib/mysql
volumes:
2020-04-13 17:41:49 +02:00
app:
2020-01-30 13:29:30 +01:00
mysql:
networks:
default:
external:
2020-01-31 18:03:09 +01:00
name: frontend_default