Skip to content

Commit

Permalink
docs: update instructions to use single database file mount instead o…
Browse files Browse the repository at this point in the history
…f dir mount.
  • Loading branch information
zicklag authored Mar 22, 2024
1 parent 5d7d045 commit a212453
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Now we can run our OOYE bridge.
```
dd if=/dev/urandom bs=32 count=1 2> /dev/null | basenc --base16 | dd conv=lcase 2> /dev/null
```
2. Create a blank database file for ooye:
```bash
touch ooye.db
# OOYE runs as user 1001 in the container
sudo chown 1001:1001 ooye.db
```
2. Create a `docker-compose.yml` like the one below, but with your server info and tokens substituted
in the `environment` section.
Note the `ADMIN_INVITE` section, in which you should specify the matrix ID of the user that you want
Expand All @@ -50,10 +56,7 @@ services:
ports:
- 6693:6693
volumes:
- ooye-data:/app/db

volumes:
ooye-data:
- ./ooye.db:/app/db/ooye.db
```
3. In the same folder as your `docker-compose.yml` run `docker compose up -d`.
4. You'll see the container download and start up. It will exit immediately after startup, that is
Expand Down Expand Up @@ -127,7 +130,6 @@ so you can follow these steps once for each guild you want to bridge.
Posting in a Discord channel will cause the bridge to create a corresponding matrix channel that matrix
users will be able to join.


### Configuring Your Matrix Rooms

Your `ADMIN_INVITE` user should receive an invite to any bridge discord spaces. This allows you
Expand Down

0 comments on commit a212453

Please sign in to comment.