diff --git a/Makefile b/Makefile index 24e74e52f..69994e246 100644 --- a/Makefile +++ b/Makefile @@ -109,6 +109,7 @@ start: start-postgres start-memcached start-minio start-frontend start-backend; .PHONY: %-frontend %-frontend: SERVICE=frontend +%-backend: SERVICE_VARIANT=frontend %-frontend: CONTAINER_CMD=localhost/fradrive/frontend .PHONY: %-postgres diff --git a/docker/postgres/Dockerfile b/docker/postgres/Dockerfile index 75714c7a3..c3a14c0b9 100644 --- a/docker/postgres/Dockerfile +++ b/docker/postgres/Dockerfile @@ -3,7 +3,7 @@ FROM docker.io/postgres:12 # Allow for connecting to database without password authentication ENV POSTGRES_HOST_AUTH_METHOD=trust -COPY --chown=postgres:postgres docker/database/pg_hba.conf /tmp/pg_hba.conf -COPY --chown=postgres:postgres docker/database/postgresql.conf /tmp/postgresql.conf -COPY docker/database/pgconfig.sh /docker-entrypoint-initdb.d/_pgconfig.sh -COPY --chown=postgres:postgres docker/database/schema.sql /docker-entrypoint-initdb.d/schema.sql +COPY --chown=postgres:postgres docker/postgres/pg_hba.conf /tmp/pg_hba.conf +COPY --chown=postgres:postgres docker/postgres/postgresql.conf /tmp/postgresql.conf +COPY docker/postgres/pgconfig.sh /docker-entrypoint-initdb.d/_pgconfig.sh +COPY --chown=postgres:postgres docker/postgres/schema.sql /docker-entrypoint-initdb.d/schema.sql