diff --git a/internal/suites/example/compose/authelia/Dockerfile.backend b/internal/suites/example/compose/authelia/Dockerfile.backend index 153e4a1c5..0be55c9a5 100644 --- a/internal/suites/example/compose/authelia/Dockerfile.backend +++ b/internal/suites/example/compose/authelia/Dockerfile.backend @@ -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 diff --git a/internal/suites/example/compose/authelia/docker-compose.backend.dev.yml b/internal/suites/example/compose/authelia/docker-compose.backend.dev.yml index 7a89070f8..05764a32b 100644 --- a/internal/suites/example/compose/authelia/docker-compose.backend.dev.yml +++ b/internal/suites/example/compose/authelia/docker-compose.backend.dev.yml @@ -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' diff --git a/internal/suites/example/compose/authelia/docker-compose.frontend.dev.yml b/internal/suites/example/compose/authelia/docker-compose.frontend.dev.yml index c4f88ba33..63f274662 100644 --- a/internal/suites/example/compose/authelia/docker-compose.frontend.dev.yml +++ b/internal/suites/example/compose/authelia/docker-compose.frontend.dev.yml @@ -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`)'