-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (40 loc) · 876 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (40 loc) · 876 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
35
36
37
38
39
40
services:
app:
build:
context: ./app
dockerfile: Dockerfiles/Dockerfile.local
command: ["npm", "run", "dev"]
ports:
- "5173:5173"
volumes:
- "./app:/usr/src/app"
- "/usr/src/app/node_modules"
server:
build:
context: ./server
dockerfile: Dockerfiles/Dockerfile.local
env_file:
- ./server/server/.env.local
entrypoint: ["bash", "./entrypoint.local.sh"]
ports:
- "8000:8000"
volumes:
- "./server:/usr/src/server"
depends_on:
- postgres
postgres:
build:
context: ./database
dockerfile: Dockerfiles/Dockerfile.local
env_file:
- ./database/.env.local
ports:
- "5432:5432"
volumes:
- "./database:/usr/src/database"
pgAdmin:
image: dpage/pgadmin4
env_file:
- ./database/.env.local
ports:
- "5050:80"