mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
HUGE REFACTORING; Implementing ldap networks, new port mappings, heal script optimizing etc.
This commit is contained in:
@@ -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}}-database
|
||||
container_name: {{application_id}}-database
|
||||
logging:
|
||||
driver: journald
|
||||
image: mariadb
|
||||
|
@@ -2,7 +2,7 @@
|
||||
{% if not enable_central_database | bool %}
|
||||
database:
|
||||
image: postgres:{{postgres_database_version}}-alpine
|
||||
container_name: {{docker_compose_project_name}}-database
|
||||
container_name: {{application_id}}-database
|
||||
environment:
|
||||
- POSTGRES_PASSWORD={{database_password}}
|
||||
- POSTGRES_USER={{database_username}}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# This template needs to be included in docker-compose.yml, which depend on redis
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: {{docker_compose_project_name}}-redis
|
||||
container_name: {{application_id}}-redis
|
||||
restart: {{docker_restart_policy}}
|
||||
logging:
|
||||
driver: journald
|
||||
|
Reference in New Issue
Block a user