Activate container restart

This commit is contained in:
Jakob Scheumann
2023-11-13 12:00:39 +01:00
committed by Abhilash Raj
parent 635ef2f246
commit dfce139f0c
3 changed files with 6 additions and 0 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: