File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Running the server as a docker container
22
3- ## Bundle
4-
531 . Add an isolated network to share between the server and the database:
64``` sh
75docker network create spacebar-network
@@ -25,8 +23,7 @@ docker run \
2523 --name spacebar-server \
2624 --network spacebar-network \
2725 -e DATABASE=postgres://postgres:postgres@spacebar-db/postgres \
28- -e CONFIG_PATH=/config/config.json \
29- -v ./config:/config \
26+ -e CONFIG_PATH=config.json \
3027 -v ./data:/data \
3128 ghcr.io/{{ repositories.server }}
3229```
@@ -39,8 +36,7 @@ docker run \
3936 --name spacebar-server \
4037 --network spacebar-network \
4138 -e DATABASE=postgres://postgres:postgres@spacebar-db/postgres \
42- -e CONFIG_PATH=/config/config.json \
43- -v ./config:/config \
39+ -e CONFIG_PATH=config.json \
4440 -v ./data/:/data \
4541 -p 3001:3001 \
4642 ghcr.io/{{ repositories.server }}
You can’t perform that action at this time.
0 commit comments