-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (75 loc) · 2.23 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3.9'
services:
mkdocs:
image: squidfunk/mkdocs-material
container_name: mkdocs
ports:
- 8888:8000
volumes:
- type: bind
source: ./.docs
target: /docs
labels:
- "traefik.enable=true"
- "traefik.http.routers.docs.rule=Host(`docs.localhost`)"
- "traefik.http.routers.docs.entrypoints=web"
wallet:
image: ghcr.io/knowledgeonwebscale/solid-web-monetization/accountant:latest
pull_policy: always
container_name: wallet
labels:
- "traefik.enable=true"
- "traefik.http.routers.wallet.rule=Host(`wallet.localhost`)"
- "traefik.http.routers.wallet.entrypoints=web"
store:
image: ghcr.io/knowledgeonwebscale/solid-web-monetization/microstore:latest
pull_policy: always
container_name: store
labels:
- "traefik.enable=true"
- "traefik.http.routers.store.rule=Host(`store.localhost`)"
- "traefik.http.routers.store.entrypoints=web"
environment:
- "PAYMENT_POINTER=$$rafiki.money/p/thomas.dupont@ugent.be"
- "CONFIG_VARS=PAYMENT_POINTER"
- "CONFIG_FILE_PATH=/app/assets"
- "CONFIG_FILE_NAME=config.json"
wmp:
image: ghcr.io/knowledgeonwebscale/solid-web-monetization/wmp:latest
pull_policy: always
container_name: wmp
expose:
- "8080"
labels:
- "traefik.enable=true"
- "traefik.http.routers.wmp.rule=Host(`wmp.localhost`)"
- "traefik.http.routers.wmp.entrypoints=web"
environment:
- "BASE_URI=http://wmp.localhost"
- "MONGO_CONNECTION_STRING=mongodb://mongodb:27017"
- "CLIENT_ID=79e3648fc184f70306e4072f3a856bb1"
- "CLIENT_SECRET=2ba10ec24a3cb231ee39781bc3882d66"
mongodb:
image: mongo:4.2
container_name: mongodb
ports:
- "27017:27017"
volumes:
- 'mongodb_data:/data/db'
traefik:
image: "traefik:v2.6"
container_name: "traefik"
command:
# - "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
volumes:
mongodb_data:
driver: local