Last active
June 12, 2023 00:19
-
-
Save shayani/b4feddd7a562d2ec3406015d70b6cfe5 to your computer and use it in GitHub Desktop.
DEVEL docker-compose.yml
This file contains hidden or 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
# 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