diff options
author | 2020-10-06 21:29:34 +0200 | |
---|---|---|
committer | 2020-10-06 21:58:57 +0200 | |
commit | c8c6cb8754bd0917e35eb157925028a9b6f1dcb9 (patch) | |
tree | 7da1d95e76a21eca127b1239ed4f4e042d272da4 /docker-compose.yml | |
parent | Merge pull request #402 from python-discord/joseph/reduce-discord-scopes (diff) |
Added metricity db connection and user bot API
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 73d2ff85..7287d8d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,8 @@ services: POSTGRES_DB: pysite POSTGRES_PASSWORD: pysite POSTGRES_USER: pysite + volumes: + - ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql web: build: @@ -40,6 +42,7 @@ 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 |