-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
docker-compose.dev.yml
43 lines (38 loc) · 1.04 KB
/
docker-compose.dev.yml
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
35
36
37
38
39
40
41
42
43
version: "3"
services:
database:
container_name: apivault_database_dev
environment:
- PGDATA=/var/lib/postgresql/data/pgdata/
- POSTGRES_HOST=db_postgis_apivault
- POSTGRES_DB=apivault
- POSTGRES_PASSWORD=apivault
- POSTGRES_USER=apivault
client:
container_name: apivault_client_dev
build:
context: ./frontend
dockerfile: ./Dockerfile
environment:
- NUXT_HOST=0.0.0.0
- STRAPI_URL=http://server:9001/
- API_URL_BROWSER=/api
user: node
volumes:
- .:/code
command: sh -c "python3 frontend/docker/start_server.py"
server:
container_name: apivault_server_dev
environment:
- DB_ENGINE=django.contrib.gis.db.backends.postgis
- DB_HOST=db_postgis_apivault
- DB_NAME=apivault
- DB_USER=apivault
- DB_PASSWORD=apivault
- DB_PORT=5432
- DEBUG=${DEBUG}
command: sh -c "python3 backend/docker/command/start_server.py"
networks:
apivault-network:
aliases:
- apivault-network