-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.15 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
45
46
47
48
49
50
51
version: '3.8'
services:
# pgsql:
# container_name: pgsql
# image: postgres:14.1-alpine
# environment:
# - DB_HOST=host.docker.internal
# - POSTGRES_USER=postgres
# - POSTGRES_PASSWORD=postgres
# - POSTGRES_DB=public
# ports:
# - '5432:5432'
# expose:
# - '5432'
# volumes:
# - ./pgsql:/var/lib/postgresql/data
backend:
container_name: node_server
environment:
- USER_API_KEY=${USER_API_KEY}
build:
context: ./server
volumes:
- ./server:/app
- /app/node_modules
ports:
- '3001:3001'
# depends_on:
# - pgsql
vue-client:
container_name: vue_client
build:
context: ./cascade-playground-platform
volumes:
- ./cascade-playground-platform:/app
- /app/node_modules
ports:
- '8080:8080'
depends_on:
- backend
# db-migrator:
# container_name: db_migrator
# build:
# context: ./migrator
# depends_on:
# - pgsql
# environment:
# - DATABASE_URL=postgres://postgres:postgres@pgsql:5432/postgres