forked from activitypods/mastopod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
85 lines (80 loc) · 1.94 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
81
82
83
84
85
services:
fuseki:
image: semapps/jena-fuseki-webacl
volumes:
- ./data/fuseki:/fuseki:z
ports:
- '3030:3030'
expose:
- '3030'
environment:
ADMIN_PASSWORD: admin
activitypods-backend:
image: activitypods/backend
depends_on:
- fuseki
- redis
restart: always
expose:
- '3000'
volumes:
- ./data/activitypods/logs:/app/backend/logs:z
- ./data/activitypods/jwt:/app/backend/jwt:z
- ./data/activitypods/uploads:/app/backend/uploads:z
environment:
SEMAPPS_JENA_PASSWORD: admin
SEMAPPS_APP_LANG: en
SEMAPPS_MAPBOX_ACCESS_TOKEN: ${MAPBOX_ACCESS_TOKEN:?You must set it in the .env.local file}
# Allow the Pod backend to access the app backend as localhost:3001
# See https://docs.docker.com/network/drivers/host/
network_mode: 'host'
#activitypods-frontend:
# image: 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
# ports:
# - '1080:1080'
# - '1025:1025'
# restart: on-failure
redis:
image: redis
expose:
- '6379'
ports:
- '6379:6379'
volumes:
- ./data/redis:/data:z
command: ['redis-server', '--appendonly', 'yes']
#arena:
# image: activitypods/arena
# restart: always
# volumes:
# - ./docker/arena-dev.json:/opt/arena/src/server/config/index.json:z
# depends_on:
# - redis
# expose:
# - '4567'
# ports:
# - '4567:4567'
# environment:
# REDIS_HOST: 'redis'
pg:
image: postgres:17
restart: always
volumes:
- ./data/postgres:/var/lib/postgresql/data:z
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- '5432:5432'
expose:
- '5432'