-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·44 lines (41 loc) · 1 KB
/
docker-compose.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
44
services:
db:
image: postgres:13
volumes:
- ./db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
POSTGRES_DB: danceter_development
dance_api:
build:
context: ./backend
args:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
env_file:
- .env
user: "${UID}:${GID}"
volumes:
- ./backend:/danceter
- ./backend/tmp:/danceter/backend/tmp
- ./backend/log:/danceter/backend/log
ports:
- "3000:3000"
depends_on:
- db
environment:
DATABASE_URL: postgres://postgres:password@db:5432/danceter_development
# frontend:
# build:
# context: ./frontend
# command: bun run dev
# volumes:
# - ./frontend:/danceter
# - /danceter/node_modules
# ports:
# - "5173:5173" # Adjust port to match Vite's default or custom port
# environment:
# NODE_ENV: development
# depends_on:
# - web