Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
15 changes: 9 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ services:
restart: always
container_name: "context_layer_PG"
environment:
- POSTGRES_NAME=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_NAME=${POSTGRES_NAME}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- "54321:5432"
volumes:
Expand All @@ -18,20 +18,23 @@ services:
start_period: 30s
timeout: 10s
backend:
container_name: ids_backend
build:
context: ./platform/data-management
restart: always
command: python manage.py runserver 0.0.0.0:8000
env_file:
- ./platform/data-management/.env
volumes:
- ./platform/data-management:/code
ports:
- 8000:8000
- "8000:8000"
depends_on:
db:
condition: service_healthy
restart: true
frontend:
container_name: frontend
container_name: ids_frontend
build:
context: ./platform/frontend
target: dev
Expand All @@ -46,7 +49,7 @@ services:
- /app/node_modules
- /app/.next
ports:
- 3000:3000
- "3000:3000"
depends_on:
- backend
volumes:
Expand Down