mirror of
https://github.com/timvisee/send-docker-compose.git
synced 2025-12-07 06:20:54 +03:00
Use consistent name for reverse proxy container
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
proxy:
|
send-proxy:
|
||||||
|
name: send-proxy
|
||||||
image: 'jwilder/nginx-proxy:alpine'
|
image: 'jwilder/nginx-proxy:alpine'
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
||||||
@@ -17,8 +18,8 @@ services:
|
|||||||
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||||
- NGINX_PROXY_CONTAINER=proxy
|
- NGINX_PROXY_CONTAINER=send-proxy
|
||||||
- NGINX_DOCKER_GEN_CONTAINER=proxy
|
- NGINX_DOCKER_GEN_CONTAINER=send-proxy
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- proxy-certs:/etc/nginx/certs
|
- proxy-certs:/etc/nginx/certs
|
||||||
|
|||||||
Reference in New Issue
Block a user