summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml19
1 files changed, 7 insertions, 12 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7dfc852..6adb841 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,14 +1,10 @@
-version: "2.3"
+version: "3"
services:
db:
build: postgres-hstore
restart: always
- # NOTE: Comment out `volumes` for development
- volumes:
- - /var/spejstore-data:/var/lib/postgresql/data
- # NOTE: Uncomment this awful thing for development
- # environment:
- # - POSTGRES_HOST_AUTH_METHOD=trust
+ environment:
+ - POSTGRES_HOST_AUTH_METHOD=trust
web:
build: .
@@ -20,8 +16,7 @@ services:
- "8000:8000"
depends_on:
- db
-
- env_file:
- - spejstore-dev.env
- # NOTE: Comment out this for development
- - spejstore.env
+ environment:
+ - SPEJSTORE_CLIENT_ID
+ - SPEJSTORE_SECRET
+ - SPEJSTORE_ENV