mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Fix development workflow. (#649)
Suites cannot be run locally anymore following the move of the example directory into the suites directory.
This commit is contained in:
parent
e1cd524f65
commit
efb567f3d5
|
@ -6,7 +6,7 @@ ARG GROUP_ID
|
|||
# gcc and musl-dev are required for building go-sqlite3
|
||||
RUN addgroup --gid ${GROUP_ID} dev && \
|
||||
adduser --uid ${USER_ID} -G dev -D dev && \
|
||||
apk --no-cache add gcc musl-dev
|
||||
apk --no-cache add gcc musl-dev git
|
||||
|
||||
RUN mkdir -p /etc/authelia && chown dev:dev /etc/authelia
|
||||
RUN mkdir -p /var/lib/authelia && chown dev:dev /var/lib/authelia
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
working_dir: /app
|
||||
volumes:
|
||||
- './example/compose/authelia/resources/:/resources'
|
||||
- '.:/app'
|
||||
- '../..:/app'
|
||||
- '${GOPATH}:/go'
|
||||
labels:
|
||||
- 'traefik.frontend.rule=Host:login.example.com;PathPrefix:/api'
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
working_dir: /app
|
||||
volumes:
|
||||
- './example/compose/authelia/resources/:/resources'
|
||||
- './web:/app'
|
||||
- '../../web:/app'
|
||||
labels:
|
||||
- 'traefik.frontend.rule=Host:login.example.com'
|
||||
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`)'
|
||||
|
|
Loading…
Reference in New Issue
Block a user