services-garbaye/podman-vaultwarden/container-compose.yml

32 lines
658 B
YAML
Raw Normal View History

2022-11-26 22:00:34 +00:00
version: '3'
services:
database:
container_name: ${db_container_name}
image: ${database_image}:${database_version}
volumes:
- database:${database_path}:Z
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
2022-11-26 22:00:34 +00:00
app:
container_name: ${container_name}
image: ${vaultwarden_image}:${vaultwarden_version}
volumes:
- data:/data:Z
2022-11-26 22:00:34 +00:00
ports:
- "127.0.0.1:8090:80"
2023-08-10 19:56:29 +00:00
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 60s
timeout: 10s
retries: 5
2022-11-26 22:00:34 +00:00
depends_on:
- ${db_container_name}
volumes:
database:
data: