30 lines
621 B
YAML
30 lines
621 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16
|
|
container_name: bizone-postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: wa_dashboard
|
|
POSTGRES_USER: bizone
|
|
POSTGRES_PASSWORD: change-this-postgres-password
|
|
ports:
|
|
- "127.0.0.1:5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:7
|
|
container_name: bizone-redis
|
|
restart: unless-stopped
|
|
command: ["redis-server", "--appendonly", "yes"]
|
|
ports:
|
|
- "127.0.0.1:6379:6379"
|
|
volumes:
|
|
- redis_data:/data
|
|
|
|
volumes:
|
|
postgres_data:
|
|
redis_data:
|