Robert Kaussow
49e880431c
All checks were successful
continuous-integration/drone/push Build is passing
38 lines
852 B
YAML
38 lines
852 B
YAML
---
|
|
version: '3'
|
|
|
|
services:
|
|
postgres:
|
|
container_name: bitwardenrs_postgres
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_DB: bitwarden
|
|
POSTGRES_PASSWORD: pass
|
|
POSTGRES_USER: user
|
|
|
|
bitwardenrs:
|
|
container_name: bitwardenrs
|
|
image: xoxys/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: my_secure_token
|
|
|
|
bitwardenrs_ldap:
|
|
container_name: bitwardenrs_ldap
|
|
image: xoxys/bitwardenrs_ldap:latest
|
|
depends_on:
|
|
- bitwardenrs
|
|
environment:
|
|
BITWARDENRS_LDAP_BITWARDEN_URL: http://bitwardenrs:8080
|
|
BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN: my_secure_token
|
|
|
|
volumes:
|
|
data:
|
|
driver: local
|