-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.multi-user.debug.yml.sample
99 lines (99 loc) · 3.2 KB
/
docker-compose.multi-user.debug.yml.sample
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
93
94
95
96
97
98
99
version: '2'
services:
feedgears-router01:
image: "nginx:latest"
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- feedgears-app01
- feedgears-broker01
- feedgears-client01
feedgears-db01:
image: "postgres:latest"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
feedgears-cache01:
image: redis:6.2-alpine
restart: always
command: redis-server --save 20 1 --loglevel warning --requirepass redis
volumes:
- cache:/data
feedgears-app01:
image: "lostsidewalk/newsgears-api:latest-debug"
environment:
- DEBUG=true
- NEWSGEARS_DEVELOPMENT=false
- NEWSGEARS_SINGLEUSERMODE=false
- NEWSGEARS_APPURL=http://localhost/api
- NEWSGEARS_ORIGINURL=http://localhost
- NEWSGEARS_BROKERURL=ws://feedgears-broker01:8083/server-broker
- NEWSGEARS_BROKERCLAIM=secret
- SPRING_DATASOURCE_URL=jdbc:postgresql://feedgears-db01:5432/postgres
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- SPRING_REDIS_HOST=feedgears-cache01
- SPRING_REDIS_PASSWORD=redis
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_REDIRECTURI=http://localhost/api/oauth2/callback/{registrationId}
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_CLIENTID=@null
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_CLIENTSECRET=@null
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_SCOPE=email,profile
- SPRING_MAIL_HOST=localhost
- SPRING_MAIL_USERNAME=smtpUser
- SPRING_MAIL_PASSWORD=smtpPassword
- TOKEN_SERVICE_SECRET=secret
ports:
- "45005:45005"
depends_on:
- feedgears-db01
links:
- feedgears-db01
- feedgears-broker01
feedgears-engine01:
image: "lostsidewalk/newsgears-engine:latest-debug"
environment:
- DEBUG=true
- NEWSGEARS_DEVELOPMENT=false
- SPRING_DATASOURCE_URL=jdbc:postgresql://feedgears-db01:5432/postgres
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- SPRING_REDIS_HOST=feedgears-cache01
- SPRING_REDIS_PASSWORD=redis
ports:
- "55005:55005"
depends_on:
- feedgears-db01
- feedgears-cache01
- feedgears-app01
links:
- feedgears-db01
feedgears-broker01:
image: "lostsidewalk/newsgears-broker:latest-debug"
environment:
- DEBUG=true
- NEWSGEARS_DEVELOPMENT=false
- NEWSGEARS_SINGLEUSERMODE=false
- NEWSGEARS_ORIGINURL=http://localhost:[*]
- SPRING_DATASOURCE_URL=jdbc:postgresql://feedgears-db01:5432/postgres
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- TOKEN_SERVICE_SECRET=secret
- BROKERCLAIM_API=secret
ports:
- "65015:65015"
depends_on:
- feedgears-db01
feedgears-client01:
image: "lostsidewalk/newsgears-client:latest"
environment:
- VUE_APP_NEWSGEARS_API_URL=http://localhost/api
- VUE_APP_NEWSGEARS_ORIGIN_URL=http://localhost
- VUE_APP_NEWSGEARS_BROKER_URL=http://localhost/broker
depends_on:
- feedgears-app01
- feedgears-broker01
volumes:
cache:
driver: local