-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (47 loc) · 1.09 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
services:
css:
image: solidproject/community-server:6.0.0-alpha.0
restart: always
container_name: solid-indexer_css
network_mode: host
environment:
- CSS_BASE_URL=http://localhost:8000
- CSS_PORT=8000
- CSS_CONFIG=config/file-acp-notifications-all.json
volumes:
- css:/data
- ./config/file-acp-notifications-all.json:/community-server/config/file-acp-notifications-all.json
- ./config/hosts:/etc/hosts
ports:
- 8000:8000
server:
image: node:lts
restart: always
container_name: solid-indexer_server
network_mode: host
depends_on:
- css
working_dir: /app
command: npm run serve
volumes:
- ./server/:/app
- ./config/hosts:/etc/hosts
ports:
- 8080:8080
client:
image: node:lts
restart: always
container_name: solid-indexer_client
network_mode: host
depends_on:
- server
working_dir: /app
command: npm start
volumes:
- ./client/:/app
- ./config/hosts:/etc/hosts
ports:
- 8080:8080
volumes:
css:
name: solid-indexer_css