compose: traefik ağına bağlan, kolaytercih.com router label'ları ekle
All checks were successful
Deploy / deploy (push) Successful in 12s
All checks were successful
Deploy / deploy (push) Successful in 12s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,14 +3,25 @@ services:
|
||||
build: .
|
||||
container_name: kolaytercih
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- app-data:/app/data
|
||||
env_file:
|
||||
- .env.production
|
||||
environment:
|
||||
- APP_DB_URL=file:/app/data/app.db
|
||||
networks:
|
||||
- traefik
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=traefik
|
||||
- traefik.http.routers.kolaytercih.rule=Host(`kolaytercih.com`)
|
||||
- traefik.http.routers.kolaytercih.entrypoints=websecure
|
||||
- traefik.http.routers.kolaytercih.tls.certresolver=letsencrypt
|
||||
- traefik.http.services.kolaytercih.loadbalancer.server.port=3000
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
app-data:
|
||||
|
||||
Reference in New Issue
Block a user