mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
implemented draf for gitlab role
This commit is contained in:
@@ -1,24 +1,8 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:13-alpine
|
||||
ports:
|
||||
- "9432:5432"
|
||||
environment:
|
||||
- POSTGRES_PASSWORD={{database_password}}
|
||||
- POSTGRES_USER={{database_username}}
|
||||
- POSTGRES_DB={{database_databasename}}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U {{database_username}}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 6
|
||||
volumes:
|
||||
- type: volume
|
||||
source: database
|
||||
target: /var/lib/postgresql/data
|
||||
|
||||
{% include 'templates/docker-postgres-service.yml.j2' %}
|
||||
|
||||
application:
|
||||
restart: unless-stopped
|
||||
|
@@ -1,6 +1,7 @@
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}listmonk/"
|
||||
database_instance: "listmonk"
|
||||
database_host: "database"
|
||||
database_databasename: "{{database_instance}}"
|
||||
database_username: "{{database_instance}}"
|
||||
database_password: "{{listmonk_database_password}}"
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}listmonk/"
|
||||
database_instance: "listmonk"
|
||||
database_host: "database"
|
||||
database_databasename: "{{database_instance}}"
|
||||
database_username: "{{database_instance}}"
|
||||
database_password: "{{listmonk_database_password}}"
|
||||
database_version: "{{ listmonk_database_version | default(postgres_default_version) }}"
|
Reference in New Issue
Block a user