docker-compose: backport "stop_grace_period" and "restart" option to mysql variant
* backport from743bc8522c* backport from0b22a0da62* also whitespace fix and line reordering Signed-off-by: Sven Roederer <sven@geroedel.de>
This commit is contained in:
@@ -7,6 +7,7 @@ services:
|
||||
hostname: mailman-core
|
||||
volumes:
|
||||
- /opt/mailman/core:/opt/mailman/
|
||||
stop_grace_period: 30s
|
||||
links:
|
||||
- database:database
|
||||
depends_on:
|
||||
@@ -34,8 +35,8 @@ services:
|
||||
volumes:
|
||||
- /opt/mailman/web:/opt/mailman-web-data
|
||||
environment:
|
||||
- DATABASE_TYPE=mysql
|
||||
- DATABASE_URL=mysql://mailman:mailmanpass@database/mailmandb?charset=utf8mb4
|
||||
- DATABASE_TYPE=mysql
|
||||
- HYPERKITTY_API_KEY=someapikey
|
||||
- SECRET_KEY=thisisaverysecretkey
|
||||
- DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
|
||||
@@ -51,7 +52,6 @@ services:
|
||||
MYSQL_USER: mailman
|
||||
MYSQL_PASSWORD: mailmanpass
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
|
||||
restart: always
|
||||
image: mariadb:10.5
|
||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
||||
volumes:
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
mailman:
|
||||
|
||||
networks:
|
||||
mailman:
|
||||
mailman:
|
||||
driver: bridge
|
||||
ipam:
|
||||
driver: default
|
||||
|
||||
Reference in New Issue
Block a user