-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.12 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
version: '2'
services:
nginx_portal2:
image: steveltn/https-portal
container_name: nginx_proxy_container2
ports:
- "80:80"
- "443:443"
volumes:
- ./ssl_letsen:/var/lib/https-portal
- /var/run/docker.sock:/tmp/docker.sock:ro
environment:
DOMAINS: 'parse.iparroting.net -> http://parse_server2:1337'
#DOMAINS: 'parse2.iparroting.net -> http://parse.iparroting.net:1337/'
STAGE: 'production'
networks:
- frontend
MongoDB:
image: mongo
container_name: mongo_parse
volumes:
- ../parse_mongo_data:/data/db
networks:
- backend
parse_server2:
build: .
container_name: parse_server2
environment:
- APP_ID
- MASTER_KEY
- DATABASE_URI
- SERVER_URL
- S3_ACCESS_KEY
- S3_SECRET_KEY
- S3_BUCKET
- S3_DIRECT
- VIRTUAL_HOST=parse.iparroting.net
- VIRTUAL_PROTO=http
volumes:
- "./:/host"
links:
- MongoDB:MongoDB
ports:
- "1337:1337"
networks:
- frontend
- backend
networks:
frontend:
driver: bridge
backend:
driver: bridge