-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
80 lines (75 loc) · 1.85 KB
/
docker-compose-dev.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
services:
fuseki:
image: semapps/jena-fuseki-webacl
container_name: fuseki
volumes:
- ./data/fuseki:/fuseki
ports:
- "3030:3030"
expose:
- "3030"
environment:
ADMIN_PASSWORD: admin
activitypods-backend:
image: activitypods/backend
container_name: activitypods-backend
depends_on:
- fuseki
- redis
restart: always
expose:
- '3000'
volumes:
- ./data/backend/logs:/app/backend/logs
- ./data/backend/jwt:/app/backend/jwt
- ./data/backend/uploads:/app/backend/uploads
environment:
SEMAPPS_JENA_PASSWORD: admin
SEMAPPS_DEFAULT_LOCALE: en
SEMAPPS_MAPBOX_ACCESS_TOKEN: ${REACT_APP_MAPBOX_ACCESS_TOKEN:?You must set it in the frontend/.env.local file}
# Allow the Pod backend to access the app backend
# See https://docs.docker.com/network/drivers/host/
network_mode: "host"
activitypods-frontend:
image: activitypods/frontend
container_name: activitypods-frontend
depends_on:
- activitypods-backend
restart: always
ports:
- "5000:5000"
expose:
- '5000'
environment:
REACT_APP_CONFIG_URL: "http://localhost:3000/.well-known/config.js"
mailcatcher:
image: dockage/mailcatcher:0.7.1
container_name: mailcatcher
ports:
- '1080:1080'
- '1025:1025'
restart: on-failure
redis:
image: redis
container_name: redis
expose:
- "6379"
ports:
- "6379:6379"
volumes:
- ./data/redis:/data:z
command: ["redis-server", "--appendonly", "yes"]
arena:
image: activitypods/arena
container_name: arena
restart: always
volumes:
- ./docker/arena-dev.json:/opt/arena/src/server/config/index.json
depends_on:
- redis
expose:
- "4567"
ports:
- "4567:4567"
environment:
REDIS_HOST: "redis"