This commit is contained in:
2022-08-02 06:40:29 +05:30
parent a2e773b3ab
commit 5713d3d410
16 changed files with 179 additions and 274 deletions

View File

@ -23,7 +23,8 @@
env:
DATABASE_URL: "{{ db_url }}"
DOMAIN: "https://{{ http_host }}"
links: "postgres:db"
links:
- "postgres:db"
published_ports:
- 127.0.0.1:8080:80
- 127.0.0.1:3012:3012

View File

@ -4,6 +4,6 @@ http_conf: "vault.tanshu.com.conf"
container_name: bitwarden
container_image: vaultwarden/server:latest
db_url: postgresql://postgres:123456@db:5432/bitwarden
db_server: db
db_url: postgresql://postgres:123456@{{ db_server }}:5432/bitwarden