-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
56 lines (55 loc) · 1.23 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
52
53
54
55
56
version: '3.7'
services:
#frontend:
#container_name: frontend
#stdin_open: true
#build:
#context: ./frontend
#dockerfile: Dockerfile
#volumes:
#- './frontend:/app'
#- '/app/node_modules'
#ports:
#- 3001:3000
#depends_on:
#- websocket
#environment:
#- CHOKIDAR_USEPOLLING=true
#- REACT_APP_BACKEND_URL=http://localhost:9292/
#- REACT_APP_WEBSOCKET_DOMAIN=localhost
#backend:
#container_name: backend
#build:
#context: ./backend
#dockerfile: Dockerfile
#volumes:
#- './backend:/app'
#ports:
#- 9292:9292
#depends_on:
#- db
#environment:
#- DB_USER=postgres
#- DB_PASSWORD=password
#- DB_HOST=postgres
#- DB_NAME=azul
#- CORS_URL=http://localhost:3001
postgres:
image: postgres
ports:
- '5432:5432'
volumes:
- ./assets/db/structure.sql:/docker-entrypoint-initdb.d/init.sql
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=azul
#websocket:
#container_name: socket
#build:
#context: ./websocket
#dockerfile: Dockerfile
#volumes:
#- './websocket:/app'
#ports:
#- 8080:8080