Created
February 13, 2022 23:55
-
-
Save drnic/bc8ccd5703dfdd136f208b80e18421ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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