Verified Commit f9c64947 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Moved duplicated dev variables to env file

parent c63b7f92
API_AUTHENTICATION_REQUIRED=True API_AUTHENTICATION_REQUIRED=True
RAVEN_ENABLED=false RAVEN_ENABLED=false
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5 RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5
DJANGO_ALLOWED_HOSTS=localhost,nginx
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SECRET_KEY=dev
C_FORCE_ROOT=true
FUNKWHALE_URL=http://localhost
PYTHONDONTWRITEBYTECODE=true
...@@ -38,13 +38,8 @@ services: ...@@ -38,13 +38,8 @@ services:
- redis - redis
command: celery -A funkwhale_api.taskapp worker -l debug command: celery -A funkwhale_api.taskapp worker -l debug
environment: environment:
- "DJANGO_ALLOWED_HOSTS=localhost"
- "DJANGO_SETTINGS_MODULE=config.settings.local"
- "DJANGO_SECRET_KEY=dev"
- C_FORCE_ROOT=true
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://localhost"
volumes: volumes:
- ./api:/app - ./api:/app
- ./data/music:/music - ./data/music:/music
...@@ -60,13 +55,8 @@ services: ...@@ -60,13 +55,8 @@ services:
- ./api:/app - ./api:/app
- ./data/music:/music - ./data/music:/music
environment: environment:
- "PYTHONDONTWRITEBYTECODE=true"
- "DJANGO_ALLOWED_HOSTS=localhost,nginx"
- "DJANGO_SETTINGS_MODULE=config.settings.local"
- "DJANGO_SECRET_KEY=dev"
- "DATABASE_URL=postgresql://postgres@postgres/postgres" - "DATABASE_URL=postgresql://postgres@postgres/postgres"
- "CACHE_URL=redis://redis:6379/0" - "CACHE_URL=redis://redis:6379/0"
- "FUNKWHALE_URL=http://localhost"
links: links:
- postgres - postgres
- redis - redis
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment