From 8a5bbaa22931906b0e72e839929cae5717163da6 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Mon, 7 Oct 2019 23:56:55 +0300 Subject: [PATCH 1/2] Remove docker-compose db volumes --- docker-compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9dc0e6d..a42ae3d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,6 @@ version: '3' services: db: image: postgres - volumes: - - db-data:/var/lib/postgresql/data web: build: . image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend @@ -13,5 +11,3 @@ services: - "8000:8000" depends_on: - db -volumes: - db-data: {} From f6abe6f999a58feecdb99cdc4c03363c7c71e9f2 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Tue, 8 Oct 2019 00:04:59 +0300 Subject: [PATCH 2/2] Fix Prod container settings path --- Dockerfile.prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 5d7f513..5b4f511 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -5,7 +5,7 @@ WORKDIR /app COPY requirements.txt ./ COPY requirements.production.txt ./ COPY . ./ -COPY sikweb/settings-sample-prod.py settings.py +COPY sikweb/settings-sample-prod.py sikweb/settings.py # uWSGI, gunicorn etc. RUN apk add --no-cache --virtual .build-deps python3-dev build-base linux-headers pcre-dev openssl \