diff options
-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 a74b1140..04ec51de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,10 +28,14 @@ services: - postgres volumes: - .:/app:ro + - staticfiles:/var/www/static environment: DATABASE_URL: postgres://pysite:supersecretpassword@postgres/pysite DEBUG: "true" SECRET_KEY: suitable-for-development-only - STATIC_ROOT: /tmp/staticfiles + STATIC_ROOT: /var/www/static + +volumes: + staticfiles: # vim: sw=2 ts=2: |