Skip to content
This repository was archived by the owner on Apr 10, 2021. It is now read-only.

Commit 765d2ee

Browse files
committed
heroky
1 parent df1ed59 commit 765d2ee

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

docker/docker-compose-prod.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
version: "3"
2+
services:
3+
rawcms-api:
4+
image: arduosoft/rawcms-api-preview
5+
ports:
6+
- "3580:80"
7+
- "3543:443"
8+
environment:
9+
- MongoSettings__ConnectionString=mongodb://root:password@mongo:27017/rawcms?authSource=admin
10+
- PORT=80
11+
- ASPNETCORE_ENVIRONMENT=Docker
12+
rawcms-ui:
13+
image: arduosoft/rawcms-ui-preview
14+
environment:
15+
- BASE_URL=http://localhost:3580
16+
- CLIENT_ID=raw.client
17+
- CLIENT_SECRET=raw.secret
18+
ports:
19+
- "3680:80"
20+
- "3643:443"
21+
mongo:
22+
image: mongo
23+
environment:
24+
- MONGO_INITDB_ROOT_USERNAME=root
25+
- MONGO_INITDB_ROOT_PASSWORD=password
26+
- MONGO_INITDB_DATABASE=rawcms
27+
ports:
28+
- 38017:27017
29+
elasticsearch:
30+
image: elasticsearch:7.4.0
31+
environment:
32+
- discovery.type=single-node
33+
- http.cors.enabled=true
34+
- http.cors.allow-credentials=true
35+
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
36+
- http.cors.allow-origin=/https?:\/\/localhost(:[0-9]+)?/
37+
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
38+
ulimits:
39+
memlock:
40+
soft: -1
41+
hard: -1
42+
ports:
43+
- 4200:9200

0 commit comments

Comments
 (0)