Removed deprecated depends_on attribut

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-02 11:28:02 +01:00
parent ab11095ec8
commit 5d91bc039f
3 changed files with 3 additions and 5 deletions

View File

@ -30,8 +30,6 @@ services:
{% if not ( enable_central_database | lower | bool ) %} {% if not ( enable_central_database | lower | bool ) %}
depends_on: depends_on:
- database - database
links:
- database
{% include 'templates/docker-mariadb-service.yml.j2' %} {% include 'templates/docker-mariadb-service.yml.j2' %}
{% endif %} {% endif %}
@ -43,4 +41,4 @@ volumes:
networks: networks:
default: default:
driver: bridge driver: bridge

View File

@ -12,7 +12,7 @@ services:
JOOMLA_DB_NAME: "{{database_databasename}}" JOOMLA_DB_NAME: "{{database_databasename}}"
restart: always restart: always
{% if not ( enable_central_database | lower | bool ) %} {% if not ( enable_central_database | lower | bool ) %}
links: depends_on:
- database - database
{% endif %} {% endif %}
volumes: volumes:

View File

@ -9,7 +9,7 @@
log_driver: journald log_driver: journald
image: mediawiki image: mediawiki
restart: always restart: always
links: depends_on:
- database - database
volumes: volumes:
- "mediawiki-data:/var/www/html/" - "mediawiki-data:/var/www/html/"