-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
34 lines (33 loc) · 950 Bytes
/
docker-compose-dev.yml
File metadata and controls
34 lines (33 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
services:
web:
build:
context: frontend
dockerfile: Dockerfile.dev
container_name: web
environment:
- DEFAULT_HOST= # Optional, Populates a default host address value to be populataed in the in the UI input. Defaults to external/WAN IP.
- DEFAULT_PORT=443 # Optional, Populates a default port value to be populataed in the in the UI input
- API_URL= # Optional, the URL of the API service. The scheme and port is required. Defaults to http://api:8000 if not set.
ports:
- 8080:8080
volumes:
- ./frontend/web:/web
networks:
- portchecker
api:
build:
context: backend
dockerfile: Dockerfile.dev
container_name: api
environment:
- ALLOW_PRIVATE=false # Prevent usage of private IP addresses
ports:
- 8000:8000
volumes:
- ./backend/api:/src
networks:
- portchecker
networks:
portchecker:
driver: bridge