mirror of
https://github.com/timvisee/send-docker-compose.git
synced 2025-12-08 06:50:59 +03:00
Restart containers on kill
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
|||||||
send-proxy:
|
send-proxy:
|
||||||
container_name: send-proxy
|
container_name: send-proxy
|
||||||
image: 'jwilder/nginx-proxy:alpine'
|
image: 'jwilder/nginx-proxy:alpine'
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
||||||
- '443:443'
|
- '443:443'
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
- proxy-html:/usr/share/nginx/html
|
- proxy-html:/usr/share/nginx/html
|
||||||
proxy-letsencrypt:
|
proxy-letsencrypt:
|
||||||
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
- DEFAULT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||||
- NGINX_PROXY_CONTAINER=send-proxy
|
- NGINX_PROXY_CONTAINER=send-proxy
|
||||||
@@ -27,6 +29,7 @@ services:
|
|||||||
- proxy-html:/usr/share/nginx/html
|
- proxy-html:/usr/share/nginx/html
|
||||||
send:
|
send:
|
||||||
image: 'mozilla/send:latest'
|
image: 'mozilla/send:latest'
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '1234:1234'
|
- '1234:1234'
|
||||||
environment:
|
environment:
|
||||||
@@ -38,6 +41,7 @@ services:
|
|||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
redis:
|
redis:
|
||||||
image: 'redis:alpine'
|
image: 'redis:alpine'
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- send-redis:/data
|
- send-redis:/data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user