Skip to content

Commit af5e038

Browse files
authored
Merge pull request #122 from CyberL1/refactor/only-one-data-volume
refactor: remove separate config volume
2 parents bdbb45f + 70d97fe commit af5e038

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

docs/setup/server/docker/docker.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Running the server as a docker container
22

3-
## Bundle
4-
53
1. Add an isolated network to share between the server and the database:
64
```sh
75
docker 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 }}

0 commit comments

Comments
 (0)