-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (56 loc) · 1.13 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
services:
installer:
build: .
command: yarn install --frozen-lockfile
platform: linux/amd64
restart: "no"
volumes:
- .:/app
mongo:
image: mongo
environment:
MONGO_INITDB_DATABASE: wapper
volumes:
- mongo-data:/data/db
mongo-express:
image: mongo-express
environment:
ME_CONFIG_BASICAUTH_USERNAME: wapper
ME_CONFIG_BASICAUTH_PASSWORD: wapper
ME_CONFIG_MONGODB_URL: mongodb://mongo:27017/
ports:
- "8081:8081"
redis:
image: redis:5-alpine
ports:
- "6379:6379"
volumes:
- redis-data:/data
redis-commander:
image: rediscommander/redis-commander
environment:
REDIS_HOSTS: local:redis:6379
ports:
- "8082:8082"
wapi:
build: .
cap_add:
- SYS_ADMIN
command: npm start
depends_on:
installer:
condition: service_completed_successfully
env_file:
- .env
platform: linux/amd64
ports:
- "3000:3000"
volumes:
- .:/app
- wweb-auth:/userdata/auth
- wweb-cache:/userdata/cache
volumes:
mongo-data:
redis-data:
wweb-auth:
wweb-cache: