Merge pull request #663 from jakicoll/ft-restart
Automatically restart Mailman containers i.e. on reboot
This commit is contained in:
@@ -5,6 +5,7 @@ services:
|
|||||||
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-core
|
container_name: mailman-core
|
||||||
hostname: mailman-core
|
hostname: mailman-core
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/mailman/core:/opt/mailman/
|
- /opt/mailman/core:/opt/mailman/
|
||||||
stop_grace_period: 30s
|
stop_grace_period: 30s
|
||||||
@@ -26,6 +27,7 @@ services:
|
|||||||
image: maxking/mailman-web:0.4 # Use a specific version tag (tag latest is not published)
|
image: maxking/mailman-web:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-web
|
container_name: mailman-web
|
||||||
hostname: mailman-web
|
hostname: mailman-web
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
links:
|
links:
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ services:
|
|||||||
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-core
|
container_name: mailman-core
|
||||||
hostname: mailman-core
|
hostname: mailman-core
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/mailman/core:/opt/mailman/
|
- /opt/mailman/core:/opt/mailman/
|
||||||
stop_grace_period: 30s
|
stop_grace_period: 30s
|
||||||
@@ -26,6 +27,7 @@ services:
|
|||||||
image: maxking/postorius:0.4 # Use a specific version tag (tag latest is not published)
|
image: maxking/postorius:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-web
|
container_name: mailman-web
|
||||||
hostname: mailman-web
|
hostname: mailman-web
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
links:
|
links:
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ services:
|
|||||||
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
image: maxking/mailman-core:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-core
|
container_name: mailman-core
|
||||||
hostname: mailman-core
|
hostname: mailman-core
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/mailman/core:/opt/mailman/
|
- /opt/mailman/core:/opt/mailman/
|
||||||
stop_grace_period: 30s
|
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)
|
image: maxking/mailman-web:0.4 # Use a specific version tag (tag latest is not published)
|
||||||
container_name: mailman-web
|
container_name: mailman-web
|
||||||
hostname: mailman-web
|
hostname: mailman-web
|
||||||
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
links:
|
links:
|
||||||
|
|||||||
Reference in New Issue
Block a user