Skip to content

Instantly share code, notes, and snippets.

@drnic
Created February 13, 2022 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnic/bc8ccd5703dfdd136f208b80e18421ee to your computer and use it in GitHub Desktop.
Save drnic/bc8ccd5703dfdd136f208b80e18421ee to your computer and use it in GitHub Desktop.
version: "3.2"
services:
dev:
image: tianon/true
restart: "no"
depends_on:
- db
- redis
db:
image: postgres:13
environment:
- POSTGRES_PASSWORD=password
ports:
- "5432:5432"
volumes:
- "dbdata:/var/lib/postgresql/data"
redis:
image: redis:alpine
ports:
- "6379:6379"
volumes:
dbdata:
networks:
esnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment