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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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