mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-21 17:36:54 +01:00
add frontend and increase timeout for nginx
This commit is contained in:
parent
5c53523e0d
commit
f856c8eb19
@ -7,6 +7,7 @@ services:
|
|||||||
VIRTUAL_HOST: ceremony.tornado.cash
|
VIRTUAL_HOST: ceremony.tornado.cash
|
||||||
LETSENCRYPT_HOST: ceremony.tornado.cash
|
LETSENCRYPT_HOST: ceremony.tornado.cash
|
||||||
nginx_client_max_body_size: 50m
|
nginx_client_max_body_size: 50m
|
||||||
|
nginx_proxy_read_timeout: 600s
|
||||||
MYSQL_HOST: mysql
|
MYSQL_HOST: mysql
|
||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
|
42
frontend/docker-compose.yml
Normal file
42
frontend/docker-compose.yml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
version: '2.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
nginx:
|
||||||
|
image: nginx:alpine
|
||||||
|
container_name: nginx
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
|
volumes:
|
||||||
|
- conf:/etc/nginx/conf.d
|
||||||
|
- vhost:/etc/nginx/vhost.d
|
||||||
|
- html:/usr/share/nginx/html
|
||||||
|
- certs:/etc/nginx/certs
|
||||||
|
|
||||||
|
dockergen:
|
||||||
|
image: poma/docker-gen
|
||||||
|
container_name: dockergen
|
||||||
|
restart: always
|
||||||
|
command: -notify-sighup nginx -watch /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
|
||||||
|
# environment:
|
||||||
|
# NGINX_CLIENT_MAX_BODY_SIZE: 30M
|
||||||
|
volumes_from:
|
||||||
|
- nginx
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
|
letsencrypt:
|
||||||
|
image: jrcs/letsencrypt-nginx-proxy-companion
|
||||||
|
container_name: letsencrypt
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
NGINX_DOCKER_GEN_CONTAINER: dockergen
|
||||||
|
volumes_from:
|
||||||
|
- nginx
|
||||||
|
- dockergen
|
||||||
|
volumes:
|
||||||
|
conf:
|
||||||
|
vhost:
|
||||||
|
html:
|
||||||
|
certs:
|
Loading…
Reference in New Issue
Block a user