38 lines
943 B
YAML
38 lines
943 B
YAML
|
services:
|
||
|
# ... services here
|
||
|
# don't forget to networks: nginx to the proxied service
|
||
|
|
||
|
nginx:
|
||
|
image: nginx:alpine-slim # https://hub.docker.com/_/nginx
|
||
|
restart: always
|
||
|
networks:
|
||
|
- nginx
|
||
|
volumes:
|
||
|
- ./nginx:/etc/nginx
|
||
|
- ./html:/var/www/html:ro
|
||
|
- ssl-certs:/etc/ssl:ro
|
||
|
ports:
|
||
|
- "80.75.218.200:80:80"
|
||
|
- "[2a13:7e80:0:29a:1b68:189f:223c:a1c8]:80:80"
|
||
|
- "80.75.218.200:443:443"
|
||
|
- "[2a13:7e80:0:29a:1b68:189f:223c:a1c8]:443:443"
|
||
|
- "80.75.218.200:443:443/udp"
|
||
|
- "[2a13:7e80:0:29a:1b68:189f:223c:a1c8]:443:443/udp"
|
||
|
depends_on:
|
||
|
- invidious
|
||
|
|
||
|
acme:
|
||
|
image: neilpang/acme.sh:latest # https://github.com/acmesh-official/acme.sh/wiki/Run-acme.sh-in-docker
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- acme-data:/acme.sh
|
||
|
- ssl-certs:/etc/ssl
|
||
|
- ./html:/var/www/html
|
||
|
command: daemon
|
||
|
|
||
|
networks:
|
||
|
nginx:
|
||
|
external: false
|
||
|
|
||
|
volumes:
|
||
|
ssl-certs:
|