Skip to content
Snippets Groups Projects
Commit d91dc2f9 authored by Matteo Parrucci's avatar Matteo Parrucci
Browse files

proxy for production

parent 231ad656
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
version: '3.8' version: '3.8'
services: services:
proxy:
tty: true
build:
context: .
dockerfile: proxy/Dockerfile
volumes:
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro
frontend: frontend:
tty: true tty: true
environment: environment:
......
...@@ -13,7 +13,6 @@ services: ...@@ -13,7 +13,6 @@ services:
image: nginx image: nginx
restart: always restart: always
volumes: volumes:
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro
- ${myPhotos}:/data - ${myPhotos}:/data
- ${proMedia}:/protected_media - ${proMedia}:/protected_media
ports: ports:
......
FROM nginx
COPY proxy/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