lottis_imagen/docker-compose.yml

19 lines
478 B
YAML

services:
web:
build: ./web
ports:
- 3000:3000
environment:
- IMAGEN_HOST=gen_service:5000
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
environment:
- API_KEY=<API_KEY HERE>