mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Changed database to mariadb
This commit is contained in:
parent
eabd5002fa
commit
d04c205a6b
@ -1,7 +1,3 @@
|
||||
# This file is auto-generated by the Mailu configuration wizard.
|
||||
# Please read the documentation before attempting any change.
|
||||
# Generated for compose flavor
|
||||
|
||||
version: '2.2'
|
||||
|
||||
services:
|
||||
@ -12,6 +8,16 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- "/mailu/redis:/data"
|
||||
database:
|
||||
image: mariadb
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_DATABASE: "mailu"
|
||||
MYSQL_USER: "mailu"
|
||||
MYSQL_PASSWORD: "{{mailu_database_password}}"
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
|
||||
# Core services
|
||||
front:
|
||||
@ -103,7 +109,8 @@ services:
|
||||
- "/mailu/webmail:/data"
|
||||
depends_on:
|
||||
- imap
|
||||
|
||||
volumes:
|
||||
database:
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
|
@ -139,4 +139,8 @@ LOG_LEVEL=WARNING
|
||||
###################################
|
||||
# Database settings
|
||||
###################################
|
||||
DB_FLAVOR=sqlite
|
||||
DB_FLAVOR=mysql
|
||||
DB_USER=mailu
|
||||
DB_PW={{mailu_database_password}}
|
||||
DB_HOST=database:3306
|
||||
DB_NAME=mailu
|
||||
|
Loading…
Reference in New Issue
Block a user