forked from linux/WebHosting
20 lines
496 B
YAML
20 lines
496 B
YAML
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
container_name: nginx_proxy
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /etc/pki/tls/certs/excalidraw.psi.ch.crt:/etc/nginx/certs/cert.crt:ro
|
|
- /etc/pki/tls/private/excalidraw.psi.ch.key:/etc/nginx/certs/cert.key:ro
|
|
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- excalidraw
|
|
|
|
excalidraw:
|
|
image: excalidraw/excalidraw:latest
|
|
container_name: excalidraw
|
|
ports:
|
|
- "5000:80"
|