Add instructions for Containerfile

This commit is contained in:
Martin Brodbeck 2025-04-14 19:11:21 +02:00
parent 5d7fcbd9cc
commit 2e46b6458b

View file

@ -16,6 +16,12 @@ If you want to start the service automatically, you can adapt the example system
You can also use nginx as a reverse proxy, so that the sync server listens on port 443. An example file is provided.
## Container
To build the application for use with the Containerfile, you first have to add the musl-target: `rustup target add x86_64-unknown-linux-musl`
Then you can compile kosyncrs for it: `cargo build --release --target=x86_64-unknown-linux-musl`
### Database setup
First, create a new database user and set a password: