diff options
| author | 2021-03-14 23:49:00 +0100 | |
|---|---|---|
| committer | 2021-03-15 00:39:58 +0100 | |
| commit | f9a5c68a4f5400f6963f0795071110ebdc4eebbc (patch) | |
| tree | e8534db8528370145a42f3e6340daf6f3de6a8cb /docker-compose.yml | |
| parent | Create migration for doc package name validator. (diff) | |
| parent | Dockerfile optimisations (diff) | |
Merge branch 'main' into doc-validator
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 73d2ff85..1f49f1f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,11 +18,13 @@ services: POSTGRES_DB: pysite POSTGRES_PASSWORD: pysite POSTGRES_USER: pysite + volumes: + - ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql web: build: context: . - dockerfile: docker/Dockerfile + dockerfile: Dockerfile command: ["run", "--debug"] networks: default: @@ -40,8 +42,10 @@ services: - staticfiles:/var/www/static environment: DATABASE_URL: postgres://pysite:pysite@postgres:5432/pysite + METRICITY_DB_URL: postgres://pysite:pysite@postgres:5432/metricity SECRET_KEY: suitable-for-development-only STATIC_ROOT: /var/www/static + DEBUG: 1 volumes: staticfiles: |