1
0
Fork 0
myserver-configuration/rhasspy/docker-compose.yml

30 lines
838 B
YAML
Raw Normal View History

2023-01-17 20:48:50 +01:00
version: '3'
services:
rhasspy:
image: rhasspy/rhasspy
restart: always
container_name: rhasspy
volumes:
- rhasspy_profiles:/profiles
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.rhasspy-secure.entrypoints=https"
- "traefik.http.routers.rhasspy-secure.rule=Host(`rhasspy.mrdev023.fr`)"
- "traefik.http.routers.rhasspy-secure.tls=true"
- "traefik.http.routers.rhasspy-secure.tls.certresolver=sslResolver"
# - "traefik.http.routers.rhasspy-secure.service=rhasspy"
- "traefik.http.services.rhasspy.loadbalancer.server.port=12101"
- "traefik.docker.network=proxy"
command: --user-profiles /profiles --profile fr
volumes:
rhasspy_profiles:
networks:
proxy:
external: true