Skip to content

Instantly share code, notes, and snippets.

@shayani
Last active June 12, 2023 00:19
Show Gist options
  • Save shayani/b4feddd7a562d2ec3406015d70b6cfe5 to your computer and use it in GitHub Desktop.
Save shayani/b4feddd7a562d2ec3406015d70b6cfe5 to your computer and use it in GitHub Desktop.
DEVEL docker-compose.yml
# To download the file run
# curl THIS_GIST_RAW_URL -o docker-compose.yml
# docker compose up
version: "3.9"
services:
postgres:
image: postgres:14
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pg_data:/var/lib/postgresql/data
redis:
image: redis:7
ports:
- "6379:6379"
volumes:
pg_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment