-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
65 lines (61 loc) · 1.81 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
56
57
58
59
60
61
62
63
64
65
version: '3'
services:
webapp:
build: './app'
ports:
- "1337:1337"
- "9229:9229"
depends_on:
- mongo
environment:
PORT: 1337
MONGO_HOST: 'mongo'
MONGO_PORT: 27017
MONGO_DATABASE: 'wh00t'
MONGO_USERNAME: 'wh00t'
MONGO_PASSWORD: 'superduperpasswordwithsuperprotection'
#O salt original possui apenas um $ em cada posição, a engine python do docker-compose entende que $$ é escape para interpolação de strings
SALT: '$$2a$$10$$3G996MU.UVf23MKhXTIf4e'
DEBUG: '*'
puppeteer:
build: './puppeteer'
ports:
- "31337:31337"
depends_on:
- mongo
- webapp
environment:
MONGO_HOST: 'mongo'
MONGO_PORT: 27017
MONGO_DATABASE: 'wh00t'
MONGO_USERNAME: 'wh00t'
MONGO_PASSWORD: 'superduperpasswordwithsuperprotection'
SERVICE_URL: webapp:1337
URL: 'http://webapp:1337'
CHROME: '/usr/bin/chromium-browser'
mongo:
image: 'bitnami/mongodb:latest'
restart: 'always'
ports:
- '27017:27017'
environment:
MONGODB_USERNAME: 'wh00t'
MONGODB_PASSWORD: 'superduperpasswordwithsuperprotection'
MONGODB_DATABASE: 'wh00t'
MONGODB_ROOT_PASSWORD: 'superduperpasswordforroot'
mongo-express:
image: 'mongo-express'
restart: 'always'
ports:
- '8081:8081'
environment:
ME_CONFIG_MONGODB_ENABLE_ADMIN: 'false'
ME_CONFIG_MONGODB_AUTH_DATABASE: 'wh00t'
ME_CONFIG_MONGODB_AUTH_USERNAME: 'wh00t'
ME_CONFIG_MONGODB_AUTH_PASSWORD: 'superduperpasswordwithsuperprotection'
ME_CONFIG_MONGODB_ADMINUSERNAME: 'root'
ME_CONFIG_MONGODB_ADMINPASSWORD: 'superduperpasswordforroot'
ME_CONFIG_BASICAUTH_USERNAME: 'master'
ME_CONFIG_BASICAUTH_PASSWORD: 'superduperpassword'
depends_on:
- 'mongo'