mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Changed roles to new docker backup procedure
This commit is contained in:
@@ -24,24 +24,9 @@ services:
|
||||
volumes:
|
||||
- .:/usr/share/nginx/html
|
||||
- .:/var/www
|
||||
database:
|
||||
logging:
|
||||
driver: journald
|
||||
image: mariadb
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_DATABASE: "attendize"
|
||||
MYSQL_USER: "attendize"
|
||||
MYSQL_PASSWORD: "{{attendize_database_password}}"
|
||||
MYSQL_ROOT_PASSWORD: "{{attendize_database_password}}"
|
||||
MARIADB_AUTO_UPGRADE: "1"
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: "/usr/bin/mariadb --user=attendize --password={{attendize_database_password}} --execute \"SHOW DATABASES;\""
|
||||
interval: 3s
|
||||
timeout: 1s
|
||||
retries: 5
|
||||
|
||||
{% include 'templates/docker-mariadb-service.yml.j2' %}
|
||||
|
||||
maildev:
|
||||
image: maildev/maildev
|
||||
ports:
|
||||
|
@@ -1,3 +1,8 @@
|
||||
---
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}attendize/"
|
||||
mail_interface_domain: "mail.{{domain}}"
|
||||
mail_interface_domain: "mail.{{domain}}"
|
||||
database_instance: "attendize"
|
||||
database_host: "database"
|
||||
database_databasename: "{{database_instance}}"
|
||||
database_username: "{{database_instance}}"
|
||||
database_password: "{{attendize_database_password}}"
|
||||
|
Reference in New Issue
Block a user