Files
websitebuilder/docker-compose.yml
Kunthawat Greethong 4d1bb6892b
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / lint (push) Has been cancelled
Add websitebuilder app
2026-01-26 12:50:12 +07:00

39 lines
813 B
YAML

version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: moreminimore-postgres
restart: unless-stopped
environment:
POSTGRES_USER: moreminimore
POSTGRES_PASSWORD: moreminimore_password
POSTGRES_DB: moreminimore
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U moreminimore']
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: moreminimore-redis
restart: unless-stopped
ports:
- '6379:6379'
volumes:
- redis_data:/data
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data:
redis_data: