diff options
author | 2019-04-16 17:58:29 +0200 | |
---|---|---|
committer | 2019-04-16 17:58:29 +0200 | |
commit | 1583b86a6215c879a667f304512d4708c77e9f82 (patch) | |
tree | 6e7c87375b3ce291267667be453eaedaab5ccb39 /docker-compose.yml | |
parent | merging in changes from the main branch (diff) |
makemigrations pipeline created, RepoData model created, and a really naive implementation of the API stuff which makes 6 requests and takes forever to load. I've found a better approach so I'm gonna switch to that next.
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 04ec51de..0c504c40 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,8 @@ version: "3.6" services: postgres: image: postgres:11-alpine + ports: + - "127.0.0.1:7777:5432" environment: POSTGRES_DB: pysite POSTGRES_PASSWORD: supersecretpassword @@ -30,7 +32,7 @@ services: - .:/app:ro - staticfiles:/var/www/static environment: - DATABASE_URL: postgres://pysite:supersecretpassword@postgres/pysite + DATABASE_URL: postgres://pysite:supersecretpassword@postgres:5432/pysite DEBUG: "true" SECRET_KEY: suitable-for-development-only STATIC_ROOT: /var/www/static |