mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[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:
parent
84f94dfe0c
commit
254e5ed239
|
@ -9,7 +9,7 @@ services:
|
||||||
GROUP_ID: ${GROUP_ID}
|
GROUP_ID: ${GROUP_ID}
|
||||||
command: '/resources/entrypoint-frontend.sh'
|
command: '/resources/entrypoint-frontend.sh'
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
tty: true
|
stdin_open: true
|
||||||
volumes:
|
volumes:
|
||||||
- './example/compose/authelia/resources/:/resources'
|
- './example/compose/authelia/resources/:/resources'
|
||||||
- '../../web:/app'
|
- '../../web:/app'
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user