-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
107 lines (101 loc) · 2.36 KB
/
docker-compose.yml
File metadata and controls
107 lines (101 loc) · 2.36 KB
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
100
101
102
103
104
105
106
107
version: '3'
services:
nginx:
build: .
image: instagramtools/user-interface
ports:
- "80:80"
- "443:443"
volumes:
- ./build:/build
environment:
- DEBUG=on
- APP_PATH_PREFIX=/app
- APP_API_PLACEHOLDER=/api
- APP_API_GATEWAY=http://api:8000
- APP_BOT_PLACEHOLDER=/bot
- APP_BOT_GATEWAY=http://manager:8765
- PAYMENT_PLACEHOLDER=/pay
- PAYMENT_GATEWAY=http://payment-manager:7000
- CLIENT_BODY_TIMEOUT=10
- CLIENT_HEADER_TIMEOUT=10
- CLIENT_MAX_BODY_SIZE=1024
- WHITE_LIST_IP=(172.17.0.1)|(192.168.0.25)
- WHITE_LIST=off
- PROVIDER=cloudflare
- LEXICON_CLOUDFLARE_USERNAME=yourcloudflarelogin@example.com
- LEXICON_CLOUDFLARE_TOKEN=1231231231321321321321321321321321
- UI_SERVER_NAME=localhost
- MAILTO=info@example.com
depends_on:
- api
- payment-manager
- manager
links:
- api:api
- payment-manager:payment-manager
- manager:manager
payment-manager:
image: instagramtools/payment-manager
ports:
- "5000:7000"
env_file:
- .pay.env
environment:
- DEBUG=True
- SECRET_KEY=5(15ds+i2+%ik6z&!yer+ga9m=e%jcqiz_5wszg)r-z!2--b2d
- DB_NAME=postgres
- DB_USER=postgres
- DB_PASS=postgres
- DB_SERVICE=postgres
- DB_PORT=5432
api:
image: instagramtools/api
ports:
- "8000:8000"
depends_on:
- postgres
links:
- postgres:postgres
environment:
- DEBUG=True
- SECRET_KEY=5(15ds+i2+%ik6z&!yer+ga9m=e%jcqiz_5wszg)r-z!2--b2d
- DB_NAME=postgres
- DB_USER=postgres
- DB_PASS=postgres
- DB_SERVICE=postgres
- DB_PORT=5432
- PATH_TO_SSH_KEY=tk
- SSH_PORT=tk
- IP=tk
- SECURITY_PASSWORD_SALT=tk
postgres:
image: postgres:latest
volumes:
- db_data:/var/lib/postgresql
ports:
- "5432:5432"
environment:
- DB_NAME=postgres
- DB_USER=postgres
- DB_PASS=postgres
manager:
image: instagramtools/manager
ports:
- 8765:8765
depends_on:
- postgres
- api
links:
- postgres:postgres
environment:
- DEBUG=True
- P_USER=docker
- SECRET_KEY=5(15ds+i2+%ik6z&!yer+ga9m=e%jcqiz_5wszg)r-z!2--b2d
- DB_NAME=postgres
- DB_USER=postgres
- DB_PASS=postgres
- DB_SERVICE=postgres
- DB_PORT=5432
volumes:
db_data: