Merge branch '145-build-system-rewrite' of https://dev.azure.com/fraport/Fahrerausbildung/_git/FRADrive into 145-build-system-rewrite

This commit is contained in:
Stephan Barth 2024-11-04 15:34:41 +01:00
commit 6066d86670
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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