-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (54 loc) · 1.14 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.3"
services:
chefwildcat-bot:
container_name: chefwildcat
image: 'chefwildcat/chefwildcatbot'
build:
context: ./chefwildcat-bot/
dockerfile: Dockerfile
volumes:
- .:/usr/app/
- /usr/app/node_modules
ports:
- 3001:3001
environment:
- EXTERNAL_PORT=3001
- PGUSER=admin
- PGPASSWORD=12345
- PGDATABASE=defaultdb
- PGHOST=pgdb
depends_on:
- pgdb
webpage:
container_name: webpage
image: 'chefwildcat/chefwildcatwebpage'
build:
context: ./
dockerfile: ./webpage/Dockerfile
volumes:
- .:/usr/app/
- /usr/app/node_modules
ports:
- 3003:3003
environment:
- EXTERNAL_PORT=3003
- PGUSER=admin
- PGPASSWORD=12345
- PGDATABASE=defaultdb
- PGHOST=pgdb
depends_on:
- pgdb
- chefwildcat-bot
pgdb:
container_name: pgdb
image: 'postgres:12'
ports:
- 3002:3002
environment:
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=12345
- POSTGRES_DB=defaultdb
volumes:
- pgdata1:/var/lib/postgresql/data
volumes:
pgdata1: {}