authelia/internal/suites/example/compose/authelia/docker-compose.frontend.dev.yml
Clément Michaud 060b4a19f6
[MISC] Fix authelia-frontend dev server startup. (#767)
The latest react-scripts bumps broke the startup of the authelia-frontend
container because the new version of react-scripts behaves differently when
the container is spawned with a pseudo-tty and when there is not.
2020-03-22 13:10:24 +11:00

22 lines
690 B
YAML

version: '3'
services:
authelia-frontend:
build:
context: example/compose/authelia
dockerfile: Dockerfile.frontend
args:
USER_ID: ${USER_ID}
GROUP_ID: ${GROUP_ID}
command: '/resources/entrypoint-frontend.sh'
working_dir: /app
tty: true
volumes:
- './example/compose/authelia/resources/:/resources'
- '../../web:/app'
labels:
- 'traefik.frontend.rule=Host:login.example.com'
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`)'
- 'traefik.http.routers.authelia_frontend.entrypoints=https'
- 'traefik.http.routers.authelia_frontend.tls=true'
networks:
- authelianet