mirror of
https://github.com/timvisee/send-docker-compose.git
synced 2025-12-06 14:00:58 +03:00
Various tweaks
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
# Host to expose Send on
|
# Host to expose Send on
|
||||||
HOST=send.example.org
|
HOST=send.example.org
|
||||||
|
|
||||||
# Optional: for LetsEncrypt SSL, your email address
|
|
||||||
LETSENCRYPT_EMAIL=mail@example.org
|
|
||||||
|
|
||||||
# Optional: for LetsEncrypt SSL, same as HOST
|
# Optional: for LetsEncrypt SSL, same as HOST
|
||||||
LETSENCRYPT_HOST=
|
LETSENCRYPT_HOST=
|
||||||
|
|
||||||
|
# Optional: for LetsEncrypt SSL, your email address
|
||||||
|
LETSENCRYPT_EMAIL=mail@example.org
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
# Host to expose Send on
|
# Host to expose Send on
|
||||||
HOST=send.example.org
|
HOST=send.example.org
|
||||||
|
|
||||||
# Optional: for LetsEncrypt SSL, your email address
|
|
||||||
LETSENCRYPT_EMAIL=mail@example.org
|
|
||||||
|
|
||||||
# Optional: for LetsEncrypt SSL, same as HOST
|
# Optional: for LetsEncrypt SSL, same as HOST
|
||||||
LETSENCRYPT_HOST=
|
LETSENCRYPT_HOST=
|
||||||
|
|
||||||
|
# Optional: for LetsEncrypt SSL, your email address
|
||||||
|
LETSENCRYPT_EMAIL=mail@example.org
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
- DEFAULT_HOST=${HOST}
|
- DEFAULT_HOST=${HOST}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
- proxy-certs:/etc/nginx/certs
|
- proxy-certs:/etc/nginx/certs:ro
|
||||||
- proxy-vhost:/etc/nginx/vhost.d
|
- proxy-vhost:/etc/nginx/vhost.d
|
||||||
- proxy-html:/usr/share/nginx/html
|
- proxy-html:/usr/share/nginx/html
|
||||||
proxy-letsencrypt:
|
proxy-letsencrypt:
|
||||||
@@ -20,6 +20,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||||
|
- NGINX_PROXY_CONTAINER=nginx-proxy
|
||||||
|
- NGINX_DOCKER_GEN_CONTAINER=nginx-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
|
||||||
@@ -35,6 +37,7 @@ services:
|
|||||||
- VIRTUAL_PORT=1234
|
- VIRTUAL_PORT=1234
|
||||||
- DHPARAM_GENERATION=false
|
- DHPARAM_GENERATION=false
|
||||||
- LETSENCRYPT_HOST
|
- LETSENCRYPT_HOST
|
||||||
|
- LETSENCRYPT_EMAIL
|
||||||
- PORT=1234
|
- PORT=1234
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
Reference in New Issue
Block a user