-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathdocker-compose.network.yml
92 lines (85 loc) · 2.07 KB
/
docker-compose.network.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
services:
####################################
# Server & Network Config
####################################
jukebox:
restart: always
image: ikehunter5/jukebox-server:latest
pull_policy: always
container_name: jbx-server-fe
env_file:
- .env.network
environment:
- NODE_ENV=network
- PORT=9000
- HOST=localhost
- LOG_LEVEL=debug
- BASE_URL=http://localhost:8082
- PROXY_URL=http://proxy:8080
- DB_HOST=postgres-jukebox
- DB_PORT=5432
- DB_USER=devuser
- DB_PASS=devpass
- DB_NAME=devdatabase
- REDIS_HOST=redis
- REDIS_PORT=6379
ports:
- 8082:9000
depends_on:
- postgres-jukebox
command: npm run start:network
redis:
image: redis:alpine
container_name: jukebox-redis
####################################
# Club Portal Config
####################################
club-portal:
image: ikehunter5/club-manager:latest
pull_policy: always
container_name: club-app-network-fe
volumes:
- club-static:/vol/web
env_file:
- .env.network
depends_on:
- postgres-clubs
proxy:
image: ikehunter5/club-manager-proxy:latest
pull_policy: always
ports:
- 8080:8080
- 8081:8081
depends_on:
- club-portal
restart: always
volumes:
- club-static:/vol/web
environment:
- SERVER_URI=club-app-network-fe:9000
postgres-jukebox:
image: postgres:13-alpine
volumes:
- postgres-jukebox:/var/lib/postgresql/data
environment:
- POSTGRES_DB=devdatabase
- POSTGRES_USER=devuser
- POSTGRES_PASSWORD=devpass
postgres-clubs:
image: postgres:13-alpine
volumes:
- postgres-clubs:/var/lib/postgresql/data
environment:
- POSTGRES_DB=devdatabase
- POSTGRES_USER=devuser
- POSTGRES_PASSWORD=devpass
volumes:
client-dist-jbx:
name: client-dist-jbx
mongo-data-fe:
club-static:
name: club-static-fe
postgres-clubs:
name: postgres-clubs-network-fe
postgres-jukebox:
name: postgres-jukebox-network-fe