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
|
# gcc and musl-dev are required for building go-sqlite3
|
||||||
RUN addgroup --gid ${GROUP_ID} dev && \
|
RUN addgroup --gid ${GROUP_ID} dev && \
|
||||||
adduser --uid ${USER_ID} -G dev -D 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 /etc/authelia && chown dev:dev /etc/authelia
|
||||||
RUN mkdir -p /var/lib/authelia && chown dev:dev /var/lib/authelia
|
RUN mkdir -p /var/lib/authelia && chown dev:dev /var/lib/authelia
|
||||||
|
|
|
@ -11,7 +11,7 @@ services:
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
volumes:
|
volumes:
|
||||||
- './example/compose/authelia/resources/:/resources'
|
- './example/compose/authelia/resources/:/resources'
|
||||||
- '.:/app'
|
- '../..:/app'
|
||||||
- '${GOPATH}:/go'
|
- '${GOPATH}:/go'
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.frontend.rule=Host:login.example.com;PathPrefix:/api'
|
- 'traefik.frontend.rule=Host:login.example.com;PathPrefix:/api'
|
||||||
|
|
|
@ -11,7 +11,7 @@ services:
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
volumes:
|
volumes:
|
||||||
- './example/compose/authelia/resources/:/resources'
|
- './example/compose/authelia/resources/:/resources'
|
||||||
- './web:/app'
|
- '../../web:/app'
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.frontend.rule=Host:login.example.com'
|
- 'traefik.frontend.rule=Host:login.example.com'
|
||||||
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`)'
|
- 'traefik.http.routers.authelia_frontend.rule=Host(`login.example.com`)'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user