-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml.example
59 lines (57 loc) · 1.48 KB
/
docker-compose.yml.example
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
version: '3.1'
services:
mongo:
image: mongo
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
rabbit1:
image: "rabbitmq:3-management"
hostname: "rabbit1"
environment:
RABBITMQ_ERLANG_COOKIE: "ASDADWQEWQDQWDSDAS"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
labels:
NAME: "rabbitmq1"
hcaptchabot:
image: keithpatrick/hcaptchabot
restart: always
environment:
MONGO_URL: "mongodb://root:password@mongo:27017/hcaptcha?authSource=admin"
BOT_TOKEN: ""
BOT_NAME: ""
BOT_ID:
ADMINS: ""
TIMEOUT: 1
WEBAPP_URI: "http://yourdomain.com"
RABBIT_MQ_SERVER: "rabbit1"
RABBIT_MQ_USER: "rabbitmq"
RABBIT_MQ_PASS: "rabbitmq"
hcaptchaweb:
image: keithpatrick/hcaptcha_app
restart: always
environment:
ENV_LOCAL_MONGODB_URI: "mongodb://root:password@mongo:27017/hcaptcha?authSource=admin"
ENV_LOCAL_HCAPTCHA_KEY: ""
ENV_LOCAL_HCAPTCHA_SECRET: ""
RABBIT_MQ_SERVER: "rabbit1"
RABBIT_MQ_USER: "rabbitmq"
RABBIT_MQ_PASS: "rabbitmq"
ports:
- 8000:8000
nginx:
image: nginx:stable-alpine
container_name: production_nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
- 443:443