Renamed databases

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-09 18:16:53 +01:00
parent d21c3b3072
commit 4820f2468c
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# This template needs to be included in docker-compose.yml, which depend on a mariadb database
{% if not enable_central_database | bool %}
database:
container_name: {{docker_compose_project_name}}-mariadb
container_name: {{docker_compose_project_name}}-database
logging:
driver: journald
image: mariadb

View File

@ -2,7 +2,7 @@
{% if not enable_central_database | bool %}
database:
image: postgres:{{database_version}}-alpine
container_name: {{docker_compose_project_name}}-postgres
container_name: {{docker_compose_project_name}}-database
environment:
- POSTGRES_PASSWORD={{database_password}}
- POSTGRES_USER={{database_username}}