diff --git a/docker-compose.yaml b/docker-compose.yaml index b41d4867e0ae80feed98dfccda6958792a5f3223..a4e3a367852e61ae9b4f34336abbc4e71bb98bdb 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_HOST_AUTH_METHOD: trust ports: - - "${DATABASE_PORT}:${DATABASE_PORT}" + - "${DATABASE_PORT}:5432" networks: - internal nginx: @@ -20,9 +20,8 @@ services: APP_BASE_DIR: ${APP_BASE_DIR-.} volumes: - ".:/app" - - './docker/nginx/default.conf:/etc/nginx/conf.d/default.conf' ports: - - '${NGINX_PORT}:${NGINX_PORT}' + - '${NGINX_PORT}:80' networks: - internal app: diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile index 4ea2c80397dc7a768722ad4090f75d80572f2d28..085ae3610df58345dd192d04e4d51f729e066d80 100644 --- a/docker/nginx/Dockerfile +++ b/docker/nginx/Dockerfile @@ -4,3 +4,4 @@ WORKDIR "/app" ARG APP_BASE_DIR COPY $APP_BASE_DIR . +RUN cp docker/nginx/default.conf /etc/nginx/conf.d/default.conf \ No newline at end of file