Skip to content
Snippets Groups Projects
Verified Commit 44bc2bc6 authored by Martin Weise's avatar Martin Weise
Browse files

Persistence

parent d515e963
Branches
Tags
1 merge request!416Attempt new release
...@@ -21,7 +21,7 @@ services: ...@@ -21,7 +21,7 @@ services:
hostname: metadata-db hostname: metadata-db
image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION} image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION}
volumes: volumes:
- metadata-db-data:/var/lib/mysql - metadata-db-data:/bitnami/mariadb
- ./config/1_setup-schema.sql:/docker-entrypoint-initdb.d/1_setup-schema.sql - ./config/1_setup-schema.sql:/docker-entrypoint-initdb.d/1_setup-schema.sql
- ./config/2_setup-data.sql:/docker-entrypoint-initdb.d/2_setup-data.sql - ./config/2_setup-data.sql:/docker-entrypoint-initdb.d/2_setup-data.sql
ports: ports:
...@@ -64,7 +64,7 @@ services: ...@@ -64,7 +64,7 @@ services:
hostname: data-db hostname: data-db
image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION} image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION}
volumes: volumes:
- data-db-data:/var/lib/mysql - data-db-data:/bitnami/mariadb
- ./config/1_grant-user.sql:/docker-entrypoint-initdb.d/1_grant-user.sql - ./config/1_grant-user.sql:/docker-entrypoint-initdb.d/1_grant-user.sql
ports: ports:
- "3307:3306" - "3307:3306"
......
...@@ -21,7 +21,7 @@ services: ...@@ -21,7 +21,7 @@ services:
hostname: metadata-db hostname: metadata-db
image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION} image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION}
volumes: volumes:
- metadata-db-data:/var/lib/mysql - metadata-db-data:/bitnami/mariadb
- ./dbrepo-metadata-db/1_setup-schema.sql:/docker-entrypoint-initdb.d/1_setup-schema.sql - ./dbrepo-metadata-db/1_setup-schema.sql:/docker-entrypoint-initdb.d/1_setup-schema.sql
- ./dbrepo-metadata-db/2_setup-data.sql:/docker-entrypoint-initdb.d/2_setup-data.sql - ./dbrepo-metadata-db/2_setup-data.sql:/docker-entrypoint-initdb.d/2_setup-data.sql
ports: ports:
...@@ -64,7 +64,7 @@ services: ...@@ -64,7 +64,7 @@ services:
hostname: data-db hostname: data-db
image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION} image: docker.io/bitnami/mariadb-galera:${MARIADB_VERSION}
volumes: volumes:
- data-db-data:/var/lib/mysql - data-db-data:/bitnami/mariadb
- ./dbrepo-data-db/1_grant-user.sql:/docker-entrypoint-initdb.d/1_grant-user.sql - ./dbrepo-data-db/1_grant-user.sql:/docker-entrypoint-initdb.d/1_grant-user.sql
ports: ports:
- "3307:3306" - "3307:3306"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment