From efb567f3d5f6a4616567af781e23212a3af174cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Michaud?= Date: Thu, 27 Feb 2020 10:44:29 +0100 Subject: [PATCH] Fix development workflow. (#649) Suites cannot be run locally anymore following the move of the example directory into the suites directory. --- internal/suites/example/compose/authelia/Dockerfile.backend | 2 +- .../example/compose/authelia/docker-compose.backend.dev.yml | 2 +- .../example/compose/authelia/docker-compose.frontend.dev.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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`)'