diff options
author | 2018-09-10 20:16:47 +0200 | |
---|---|---|
committer | 2018-09-10 20:16:47 +0200 | |
commit | c24cc799a81e6e5ed0e27558fcd6270fd1df7065 (patch) | |
tree | b8c032a6ff6eb13cfc8f6e67396dfd55bada3a0f | |
parent | Revert "Use Argon2 for password hashing." (diff) |
Remove `nging` for now.
-rw-r--r-- | .gitlab-ci.yml | 13 | ||||
-rw-r--r-- | docker/nging/Dockerfile | 18 |
2 files changed, 0 insertions, 31 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index babb9b71..b4f6d693 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,16 +116,3 @@ push-django: - django tags: - docker - -push-nging: - image: docker:stable-git - stage: deploy - script: - - echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin - - docker build -t pythondiscord/nging:latest . - - docker push pythondiscord/nging:latest - only: - - master - - django - tags: - - docker diff --git a/docker/nging/Dockerfile b/docker/nging/Dockerfile deleted file mode 100644 index 378099b8..00000000 --- a/docker/nging/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM pythondiscord/django AS builder - -ENV DATABASE_URL postgres://user:pass@host/db -ENV SECRET_KEY unused - -RUN mkdir -p /var/www/pythondiscord.com - -RUN python3 manage.py collectstatic --noinput - - -## NGINX setup -# Copy over only the static files from the previous stage -# to ensure a minimal image size in our NGINX container. -FROM nginx:alpine - -COPY --from=builder /var/www/pythondiscord.com /var/www/pythondiscord.com - -CMD ["nginx", "-g", "daemon off;"] |