Last active
April 24, 2025 12:20
-
-
Save radavis/f4fd5db1ff3d219c10082a3d545f0a57 to your computer and use it in GitHub Desktop.
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
services: | |
redis: | |
image: redis:6.2-alpine | |
ports: | |
- "6379:6379" | |
postgres: | |
image: postgis/postgis:13-3.4-alpine | |
environment: | |
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:-password}" | |
POSTGRES_USER: "${POSTGRES_USER:-postgres}" | |
ports: | |
- "5432:5432" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Manage postgres and redis versions for local development. Expose service ports to localhost. Start/stop services with docker compose: