-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
101 lines (95 loc) · 2.43 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
101 lines (95 loc) · 2.43 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
services:
frontend-dev:
build:
context: ./frontend
dockerfile: Dockerfile.dev
args:
- FRONTEND_PORT=${FRONTEND_PORT}
- BACKEND_PORT=${BACKEND_PORT}
- BACKEND_HOST=${BACKEND_HOST}
image: ${PROJECT_NAME:-mvp}:frontend-dev-${BUILD_ID:-latest}
env_file: .env.development
ports:
- "${FRONTEND_PORT}:${FRONTEND_PORT}"
environment:
- NEXT_PUBLIC_BACKEND_HOST=${BACKEND_HOST}
- NEXT_PUBLIC_BACKEND_PORT=${BACKEND_PORT}
- NEXT_PUBLIC_FRONTEND_PORT=${FRONTEND_PORT}
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- backend-dev
networks:
- app-network
backend-dev:
build:
context: ./backend
dockerfile: Dockerfile.dev
args:
- BACKEND_PORT=${BACKEND_PORT}
- FRONTEND_PORT=${FRONTEND_PORT}
image: ${PROJECT_NAME:-mvp}:backend-dev-${BUILD_ID:-latest}
env_file: .env.development
ports:
- "${BACKEND_PORT}:${BACKEND_PORT}"
environment:
- BACKEND_PORT=${BACKEND_PORT}
- FRONTEND_PORT=${FRONTEND_PORT}
- API_WRITE_TOKEN=${API_WRITE_TOKEN}
- SHOPIFY_STORE=${SHOPIFY_STORE}
- SHOPIFY_TOKEN=${SHOPIFY_TOKEN}
- SHOPIFY_WEBHOOK_SECRET=${SHOPIFY_WEBHOOK_SECRET}
volumes:
- ./backend:/app
networks:
- app-network
cad-service-dev:
build:
context: .
dockerfile: Dockerfile.cad-service
args:
SERVICE_PATH: ${CAD_SERVICE_RELATIVE_PATH:-services/cad-service}
INSTALL_DEV: "true"
image: ${PROJECT_NAME:-mvp}:cad-service-dev-${BUILD_ID:-latest}
env_file: .env.development
ports:
- "${CAD_SERVICE_PORT:-8500}:${CAD_SERVICE_PORT:-8500}"
environment:
- CAD_SERVICE_PORT=${CAD_SERVICE_PORT:-8500}
- CAD_SERVICE_APP_MODULE=${CAD_SERVICE_APP_MODULE:-cad_service.app:app}
volumes:
- ${CAD_SERVICE_SOURCE_PATH:-./services/cad-service}:/app
networks:
- app-network
db:
image: postgres:16
environment:
POSTGRES_USER: paform
POSTGRES_PASSWORD: paform
ports:
- "5432:5432"
profiles:
- dev
networks:
- app-network
odoo:
image: odoo:18
environment:
DB_HOST: db
DB_PORT: 5432
DB_USER: paform
DB_PASSWORD: paform
depends_on:
- db
ports:
- "8069:8069"
profiles:
- dev
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
postgres-data: