lottis_imagen/docker-compose.yml

19 lines
478 B
YAML
Raw Normal View History

2024-05-01 14:50:42 +00:00
services:
web:
build: ./web
ports:
- 3000:3000
environment:
2024-05-01 14:54:03 +00:00
- IMAGEN_HOST=gen_service:5000
2024-05-01 14:50:42 +00:00
labels:
- traefik.enable=true
- traefik.http.routers.web.rule=Host(`imagen.yandrik.dev`)
- traefik.http.routers.web.tls=true
- traefik.http.routers.web.tls.certresolver=resolver
- traefik.http.services.web.loadbalancer.server.port=3000
gen_service:
build: ./gen_service
2024-05-01 14:54:03 +00:00
environment:
- API_KEY=<API_KEY HERE>