diff options
author | 2019-04-20 14:41:40 +0200 | |
---|---|---|
committer | 2019-04-20 14:41:40 +0200 | |
commit | 14f8ca26b85f7cc3e009fb9ba2ac549e751c8068 (patch) | |
tree | 041b093b2c9296fe23eb6e1bb54d0748fbe58dfa /docker-compose.yml | |
parent | Revert linter to non-verbose. (diff) | |
parent | Make the flakes happy. (diff) |
Merge pull request #213 from python-discord/django_front_page
Django front page
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 |