mirror of
https://github.com/tornadocash/tornado-pool-relayer
synced 2024-02-02 15:04:09 +01:00
fixed volumes config for compose v3
This commit is contained in:
parent
6b791d7ec9
commit
f38bd71666
@ -31,7 +31,7 @@ services:
|
|||||||
- conf:/etc/nginx/conf.d
|
- conf:/etc/nginx/conf.d
|
||||||
- vhost:/etc/nginx/vhost.d
|
- vhost:/etc/nginx/vhost.d
|
||||||
- html:/usr/share/nginx/html
|
- html:/usr/share/nginx/html
|
||||||
- certs:/etc/nginx/certs
|
- certs:/etc/nginx/certs:ro
|
||||||
logging:
|
logging:
|
||||||
driver: none
|
driver: none
|
||||||
|
|
||||||
@ -40,9 +40,11 @@ services:
|
|||||||
container_name: dockergen
|
container_name: dockergen
|
||||||
restart: always
|
restart: always
|
||||||
command: -notify-sighup nginx -watch /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
|
command: -notify-sighup nginx -watch /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
|
||||||
volumes_from:
|
|
||||||
- nginx
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- conf:/etc/nginx/conf.d
|
||||||
|
- vhost:/etc/nginx/vhost.d
|
||||||
|
- html:/usr/share/nginx/html
|
||||||
|
- certs:/etc/nginx/certs:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
@ -51,9 +53,12 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
NGINX_DOCKER_GEN_CONTAINER: dockergen
|
NGINX_DOCKER_GEN_CONTAINER: dockergen
|
||||||
volumes_from:
|
volumes:
|
||||||
- nginx
|
- conf:/etc/nginx/conf.d
|
||||||
- dockergen
|
- vhost:/etc/nginx/vhost.d
|
||||||
|
- html:/usr/share/nginx/html
|
||||||
|
- certs:/etc/nginx/certs:rw
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
conf:
|
conf:
|
||||||
|
Loading…
Reference in New Issue
Block a user