-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
63 lines (59 loc) · 1.38 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
57
58
59
60
61
62
63
version: '3.0'
services:
postgres:
container_name: hf-postgres
image: postgres:12.3
volumes:
- /database/pgdata:/data/postgres
environment:
POSTGRES_USER: holotools
POSTGRES_PASSWORD: ux6LxHmQG6Rg3Dfs
PGDATA: /data/postgres
ports:
- "5432:5432"
networks:
holofans_network:
ipv4_address: 192.168.106.101
pgadmin:
container_name: hf-pgadmin
image: dpage/pgadmin4
logging:
driver: none
volumes:
- ./database/pgadmin:/root/.pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: PNvM5cX8NfK6yFU7
ports:
- "2334:80"
networks:
holofans_network:
ipv4_address: 192.168.106.102
holoapi:
container_name: hf-holoapi
build: ./
image: holofans/holoapi
ports:
- "2434:8081"
volumes:
- ./:/usr/src/app
environment:
- NODE_ENV=development
- NPM_CONFIG_LOGLEVEL=silent
- SERVER_PORT=8081
- POSTGRES_HOST=postgres
- POSTGRES_USER=holotools
- POSTGRES_PASSWORD=ux6LxHmQG6Rg3Dfs
- POSTGRES_DBNAME=holotools
networks:
holofans_network:
ipv4_address: 192.168.106.103
networks:
holofans_network:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "false"
ipam:
driver: default
config:
- subnet: 192.168.106.0/24