Modified compose setup
This commit is contained in:
parent
c1322fdf61
commit
53b486514f
3 changed files with 23 additions and 11 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.override.yaml
|
||||
22
compose.yaml
Normal file
22
compose.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: uni-notes
|
||||
|
||||
services:
|
||||
uni-notes:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.uni-notes.rule=Host(`uni-notes.simon-einzinger.de`)"
|
||||
- "traefik.http.routers.uni-notes.entrypoints=websecure"
|
||||
- "traefik.http.routers.uni-notes.tls.certresolver=resolver"
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- "127.0.0.1:7400:80"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
name: uni-notes
|
||||
|
||||
services:
|
||||
uni-notes:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "7400:80"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in a new issue