diff --git a/docker-compose.test.yml b/docker-compose.test.yml index e0bf413..e307c73 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -5,6 +5,8 @@ services: context: . dockerfile: docker/gobase.Dockerfile image: registry.le-corre.eu:5000/go:base + ports: + - 3000:3000 env_file: .env depends_on: - database diff --git a/docker/database.Dockerfile b/docker/database.Dockerfile index e503fcc..b1ac4e3 100644 --- a/docker/database.Dockerfile +++ b/docker/database.Dockerfile @@ -1,3 +1,4 @@ FROM mariadb:10.1 MAINTAINER Clement LE CORRE -COPY scripts/*.sql /docker-entrypoint-initdb.d/ +COPY scripts/init_values.sql /docker-entrypoint-initdb.d/init_values.sql +COPY scripts/init.sql /docker-entrypoint-initdb.d/init.sql