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:
Clément Michaud 2020-02-27 10:44:29 +01:00 committed by GitHub
parent e1cd524f65
commit efb567f3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'

View File

@ -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`)'