hippofish/dev/db-container/docker-compose.yml

25 lines
484 B
YAML
Raw Normal View History

version: "3"
services:
redis:
image: docker.io/redis:7-alpine
ports:
- "26379:6379"
2024-03-31 05:13:55 +02:00
volumes:
- "redis-data:/data"
db:
image: docker.io/groonga/pgroonga:3.1.8-alpine-12
env_file:
- ../config.env
ports:
- "25432:5432"
volumes:
- "./install.sql:/docker-entrypoint-initdb.d/install.sql:ro"
2024-03-31 05:13:55 +02:00
- "postgres-data:/var/lib/postgresql/data"
volumes:
redis-data:
name: redis-data
postgres-data:
name: postgres-data