Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/setup/server/docker/docker.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Running the server as a docker container

## Bundle

1. Add an isolated network to share between the server and the database:
```sh
docker network create spacebar-network
Expand All @@ -25,8 +23,7 @@ docker run \
--name spacebar-server \
--network spacebar-network \
-e DATABASE=postgres://postgres:postgres@spacebar-db/postgres \
-e CONFIG_PATH=/config/config.json \
-v ./config:/config \
-e CONFIG_PATH=config.json \
-v ./data:/data \
ghcr.io/{{ repositories.server }}
```
Expand All @@ -39,8 +36,7 @@ docker run \
--name spacebar-server \
--network spacebar-network \
-e DATABASE=postgres://postgres:postgres@spacebar-db/postgres \
-e CONFIG_PATH=/config/config.json \
-v ./config:/config \
-e CONFIG_PATH=config.json \
-v ./data/:/data \
-p 3001:3001 \
ghcr.io/{{ repositories.server }}
Expand Down