added log_driver: journald

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-31 15:50:05 +01:00
parent 4a78089ffc
commit 8d4878d299
7 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,7 @@
application:
restart: always
image: gitea/gitea:latest
log_driver: journald
environment:
- USER_UID=1000
- USER_GID=1000
@ -38,6 +39,7 @@
- /etc/localtime:/etc/localtime:ro
database:
image: mariadb
log_driver: journald
environment:
MYSQL_DATABASE: "gitea"
MYSQL_USER: "gitea"

View File

@ -17,3 +17,4 @@
restart: always
volumes:
- jenkins_data:/var/jenkins_home
log_driver: journald

View File

@ -12,6 +12,7 @@
definition:
application:
image: joomla
log_driver: journald
environment:
JOOMLA_DB_HOST: "database:3306"
JOOMLA_DB_USER: "joomla"
@ -26,6 +27,7 @@
- "127.0.0.1:{{http_port}}:80"
database:
image: mariadb
log_driver: journald
environment:
MYSQL_DATABASE: "joomla"
MYSQL_USER: "joomla"

View File

@ -10,6 +10,7 @@
project_name: mediawiki
definition:
application:
log_driver: journald
image: mediawiki
restart: always
links:
@ -19,6 +20,7 @@
ports:
- "127.0.0.1:{{http_port}}:80"
database:
log_driver: journald
image: mariadb
environment:
MYSQL_DATABASE: mediawiki

View File

@ -19,6 +19,7 @@
project_name: mybb
definition:
application:
log_driver: journald
image: mybb/mybb:latest
restart: always
links:
@ -26,6 +27,7 @@
volumes:
- mybb-data:/var/www/html
server:
log_driver: journald
links:
- application
image: nginx:mainline
@ -36,6 +38,7 @@
- "{{conf_d_docker_path}}:{{conf_d_path}}"
- "mybb-data:/var/www/html:ro"
database:
log_driver: journald
image: mariadb
environment:
MYSQL_DATABASE: "mybb"

View File

@ -13,6 +13,7 @@
application:
image: nextcloud
restart: always
log_driver: journald
links:
- database
volumes:
@ -25,6 +26,7 @@
MYSQL_PASSWORD: "{{nextcloud_database_password}}"
MYSQL_HOST: database:3306
database:
log_driver: journald
image: mariadb
environment:
MYSQL_DATABASE: "nextcloud"

View File

@ -13,6 +13,7 @@
project_name: wordpress
definition:
application:
log_driver: journald
image: wordpress
restart: always
ports:
@ -27,6 +28,7 @@
volumes:
- wordpress-data:/var/www/html
database:
log_driver: journald
image: mariadb
restart: always
environment: