Add docker-compose.yml
This commit is contained in:
parent
a6421b2bff
commit
a38c2ddd12
1 changed files with 38 additions and 0 deletions
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
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:
|
Loading…
Reference in a new issue