forked from linux/WebHosting
23 lines
504 B
YAML
23 lines
504 B
YAML
version: '3'
|
|
|
|
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
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- excalidraw
|
|
|
|
excalidraw:
|
|
image: excalidraw/excalidraw:latest
|
|
container_name: excalidraw
|
|
ports:
|
|
- "5000:5000"
|
|
|