|
|
@ -9,7 +9,7 @@ services:
|
|
|
|
api:
|
|
|
|
api:
|
|
|
|
image: flagsmith/flagsmith-api:latest
|
|
|
|
image: flagsmith/flagsmith-api:latest
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
DJANGO_ALLOWED_HOSTS: localhost
|
|
|
|
DJANGO_ALLOWED_HOSTS: "*" # Change this in production
|
|
|
|
DATABASE_URL: postgresql://postgres:password@db:5432/flagsmith
|
|
|
|
DATABASE_URL: postgresql://postgres:password@db:5432/flagsmith
|
|
|
|
DJANGO_DB_HOST: db
|
|
|
|
DJANGO_DB_HOST: db
|
|
|
|
DJANGO_DB_NAME: flagsmith
|
|
|
|
DJANGO_DB_NAME: flagsmith
|
|
|
@ -26,8 +26,9 @@ services:
|
|
|
|
frontend:
|
|
|
|
frontend:
|
|
|
|
image: flagsmith/flagsmith-frontend:latest
|
|
|
|
image: flagsmith/flagsmith-frontend:latest
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
API_URL: http://localhost:8000/api/v1/
|
|
|
|
# You might need to change the 2 host names below depending on your docker dns setup
|
|
|
|
ASSET_URL: http://localhost:8080/
|
|
|
|
API_URL: http://localhost:8000/api/v1/
|
|
|
|
|
|
|
|
ASSET_URL: http://locahost:8080/
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
- "8080:8080"
|
|
|
|
links:
|
|
|
|
links:
|
|
|
|