[MISC] Fix authelia-{backend,frontend} dev server logging and startup (#862)

#767 added an interactive tty to the authelia-frontend server due toe a bump in react-scripts, this in turn consumes all logging and pages on a failure and made it difficult to interact with within the dev workflow.
The tty has been replaced with an open stdin as this also satisfies the react-scripts requirement.

This change also ignores the web directory in the reflex script to avoid errors and long start-ups in the authelia-frontend container.
This commit is contained in:
Amir Zarrinkafsh 2020-04-13 15:00:44 +10:00 committed by GitHub
parent 84f94dfe0c
commit 254e5ed239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ services:
GROUP_ID: ${GROUP_ID}
command: '/resources/entrypoint-frontend.sh'
working_dir: /app
tty: true
stdin_open: true
volumes:
- './example/compose/authelia/resources/:/resources'
- '../../web:/app'

View File

@ -1 +1 @@
-r '(\.go$|go\.mod|\.sh|\.yml)' -s /resources/run-backend-dev.sh
-R '^web/' -r '(\.go$|go\.mod|\.sh|\.yml)' -s /resources/run-backend-dev.sh