remove dependency to MariaDB
This commit is contained in:
+5
-15
@@ -28,20 +28,6 @@ services:
|
||||
networks:
|
||||
- database
|
||||
- frontend
|
||||
mariadb:
|
||||
image: mariadb
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: kontor
|
||||
MYSQL_USER: kontor
|
||||
MYSQL_PASSWORD: kontor
|
||||
MYSQL_DATABASE: kontor
|
||||
ports:
|
||||
- 3316:3306
|
||||
networks:
|
||||
- database
|
||||
volumes:
|
||||
- mariadb-storage:/var/lib/mysql:rw
|
||||
kontor:
|
||||
image: kontor:0.2.0-SNAPSHOT
|
||||
restart: unless-stopped
|
||||
@@ -50,6 +36,8 @@ services:
|
||||
- frontend
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- images-data:/data/images
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -61,6 +49,8 @@ services:
|
||||
- frontend
|
||||
ports:
|
||||
- 8800:8800
|
||||
volumes:
|
||||
- images-data:/data/images
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -69,8 +59,8 @@ networks:
|
||||
database:
|
||||
frontend:
|
||||
volumes:
|
||||
mariadb-storage:
|
||||
postgres-data:
|
||||
images-data:
|
||||
secrets:
|
||||
db-password:
|
||||
file: db-password.txt
|
||||
|
||||
Reference in New Issue
Block a user