-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-unstable.yml
71 lines (66 loc) · 1.33 KB
/
docker-compose-unstable.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '2'
services:
postgres:
image: postgres
restart: unless-stopped
container_name: postgres
env_file:
- env/postgres.env
- env/general.env
ports:
- 5432:5432
volumes:
- ./database/init.sql:/docker-entrypoint-initdb.d/init.sql
- dataPostgres:/var/lib/postgresql/data
hostname: postgres
networks:
- default
api:
image: kju7pwd2/clockin-apiservice:latest_DEV
restart: unless-stopped
container_name: apiService
ports:
- 3001:80
- 3002:443
env_file:
- env/api.env
- env/general.env
depends_on:
- postgres
hostname: api
networks:
- default
web:
image: kju7pwd2/clockin-webservice:latest_DEV
restart: unless-stopped
container_name: webService
env_file:
- env/web.env
- env/general.env
ports:
- 3000:3000
depends_on:
- api
hostname: web
networks:
- default
notify:
image: kju7pwd2/clockin-notifyservice:latest_DEV
restart: unless-stopped
container_name: notifyService
env_file:
- env/notify.env
depends_on:
- postgres
- api
hostname: notify
networks:
default:
driver: bridge
volumes:
dataPostgres:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/clockin/dataPostgres'