rework compose example
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-12-30 17:22:42 +01:00
parent a4d48c690d
commit 7705ade5db
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 32 deletions

View File

@ -16,38 +16,7 @@ This is a rootless custom Docker image for [bitwarden_rs](https://github.com/dan
### Docker Compose
Compatible with docker-compose v3 schemas.
```Yaml
---
version: '3'
services:
postgres:
container_name: postgres
image: postgres
environment:
POSTGRES_DB: bitwarden
POSTGRES_PASSWORD: pass
POSTGRES_USER: user
bitwardenrs:
container_name: bitwardenrs
image: thegeeklab/bitwardenrs:latest
depends_on:
- postgres
ports:
- "80:8080"
volumes:
- data:/app/data
environment:
BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden
BITWARDENRS_ADMIN_TOKEN: test
volumes:
data:
driver: local
```
Please take a look at the [example](https://gitea.rknet.org/docker/bitwardenrs/src/branch/main/docker-compose.yml) compose file from the git repo.
## Configuration