saleor-apps-redis_apl/docker-compose.db.yml

23 lines
625 B
YAML
Raw Permalink Normal View History

# This compose contains only Database required for local development.
# App can be run locally without the container
#
# TODO Include app and worker services for local development with fullstack setup (and prod setup)
version: '3'
services:
postgres:
container_name: search_app_postgres
image: postgres # Todo maybe some alpine image?
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
restart: unless-stopped
volumes:
postgres: