From a38c2ddd12b1a8341e582f5ed3a609df07f254d7 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Tue, 7 Jan 2025 17:22:49 +0100 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4a57ef5 --- /dev/null +++ b/docker-compose.yml @@ -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: \ No newline at end of file