This commit is contained in:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
services:
|
||||
web:
|
||||
container_name: koneko-landing
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.koneko.rule=Host(`koneko.rocks`)"
|
||||
- "traefik.http.routers.koneko.entrypoints=websecure"
|
||||
- "traefik.http.routers.koneko.tls=true"
|
||||
- "traefik.http.routers.koneko.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.koneko.loadbalancer.server.port=80"
|
||||
networks:
|
||||
- frontend
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true # Use the external Traefik network (if Traefik is running on this network)
|
||||
|
Reference in New Issue
Block a user