-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (44 loc) · 979 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
41
42
43
44
45
46
47
48
49
version: "3.2"
services:
db:
image: postgres
#restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres_test
- POSTGRES_PASSWORD=postgres
- POSTGRES_HOST=db
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- "5432:5432"
server:
image: andys1mpson/heywork:backend
#restart: always
#build: ./backend/
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_HOST=db
volumes:
- './backend/server:/heywork/server/'
depends_on:
- db
links:
- db
ports:
- "2225:22"
- "8005:8000"
angular-service:
image: andys1mpson/heywork:frontend
container_name: angularcontainer
#build: ./frontend/
volumes:
- './frontend/client/src:/heywork/client/src'
ports:
- '4200:80'
depends_on:
- server
volumes:
postgres_data: