forked from linux/WebHosting
26 lines
944 B
YAML
26 lines
944 B
YAML
# Included by ../../docker-compose.yaml; use the root Compose entrypoint.
|
|
services:
|
|
# linux-eng@psi.ch
|
|
# Reverse Proxy handling all HTTP/HTTPS requests
|
|
# Only container that is exposed to the network
|
|
# Communication to other services is trough docker network
|
|
nginx:
|
|
image: nginx:latest
|
|
container_name: nginx_proxy
|
|
restart: always
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /etc/letsencrypt/live:/etc/letsencrypt/live:ro
|
|
- /etc/letsencrypt/archive:/etc/letsencrypt/archive:ro
|
|
- /etc/pki/tls/certs:/etc/nginx/certs:ro
|
|
- /etc/pki/tls/private:/etc/nginx/private:ro
|
|
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- /etc/nginx/conf.d:/etc/nginx/conf.d:ro
|
|
- /opt/webcontent/sinqstatus-test:/opt/webcontent/sinqstatus-test:ro
|
|
- /opt/webcontent/it-strategy-dashboard/frontend/:/opt/webcontent/it-strategy-dashboard/:ro
|
|
networks:
|
|
- public
|
|
- backend
|