Activate container restart
This commit is contained in:
committed by
Abhilash Raj
parent
635ef2f246
commit
dfce139f0c
@@ -5,6 +5,7 @@ services:
|
||||
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
||||
container_name: mailman-core
|
||||
hostname: mailman-core
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /opt/mailman/core:/opt/mailman/
|
||||
stop_grace_period: 30s
|
||||
@@ -27,6 +28,7 @@ services:
|
||||
image: maxking/mailman-web:0.4 # Use a specific version tag (tag latest is not published)
|
||||
container_name: mailman-web
|
||||
hostname: mailman-web
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- database
|
||||
links:
|
||||
|
||||
Reference in New Issue
Block a user