feat(docker): dockerize

This commit is contained in:
Pihkaal
2024-10-13 01:51:01 +02:00
parent 5ec42d48f8
commit 4f8187b66a
3 changed files with 42 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
simple-qr:
build: .
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.simple-qr.rule=Host(`simple-qr.com`)"
- "traefik.http.routers.simple-qr.service=simple-qr"
- "traefik.http.services.simple-qr.loadbalancer.server.port=3000"
- "traefik.http.routers.simple-qr.tls=true"
- "traefik.http.routers.simple-qr.tls.certResolver=myresolver"
networks:
web:
external: true