diff --git a/README.md b/README.md index d086284..29dddc1 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,25 @@ Example podman: (master password: `test`) + +### Docker Compose + +For easier deployment, you can use Docker Compose file + +Then, to start the container run: + + +``` +docker-compose up -d + +``` + +To stop the container: + +``` +docker-compose down +``` + ### Classic This requires rust installed, compile the binary: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..51d667c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: "3.8" +services: + keepass4web-rs: + image: ghcr.io/lixmal/keepass4web-rs:master + ports: + - "8080:8080" + volumes: + - ./config.yml:/conf/config.yml + - ./tests/test.kdbx:/db.kdbx + security_opt: + - seccomp=seccomp/keyring.json