Skip to content
Snippets Groups Projects
Commit 6854b830 authored by Kai Kruschel's avatar Kai Kruschel
Browse files

map nginx config to data folder for easier config

parent 928dee10
No related branches found
No related tags found
No related merge requests found
Pipeline #42571 failed
...@@ -16,6 +16,7 @@ services: ...@@ -16,6 +16,7 @@ services:
volumes: volumes:
- ${scanDirectory}:/data - ${scanDirectory}:/data
- ${data}/protected_media:/protected_media - ${data}/protected_media:/protected_media
- ${data}/nginx.conf:/etc/nginx/nginx.conf
ports: ports:
- ${httpPort}:80 - ${httpPort}:80
depends_on: depends_on:
......
...@@ -61,7 +61,4 @@ PGADMIN_CONT_NAME=pgadmin ...@@ -61,7 +61,4 @@ PGADMIN_CONT_NAME=pgadmin
codedir=./librephotos/code codedir=./librephotos/code
# Location for pgAdmin # Location for pgAdmin
pgAdminLocation=./librephotos/pgadmin pgAdminLocation=./librephotos/pgadmin
\ No newline at end of file
# Location of the prometheus config file
promconf=./prometheus.yml
FROM nginx FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf # COPY nginx.conf /etc/nginx/nginx.conf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment