Created
October 12, 2021 20:30
-
-
Save jcarley/d3c010fb7eee5e7960e7a1287e8abfad to your computer and use it in GitHub Desktop.
Put this in ~/ops/application_name
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.8' | |
services: | |
db: | |
ipc: host | |
image: postgres:11.9-alpine | |
ports: | |
- "5432:5432" | |
environment: | |
- TERM=xterm | |
- POSTGRES_PASSWORD=password | |
- POSTGRES_USER=username | |
- POSTGRES_DB=databasename | |
volumes: | |
- "./dbdata:/var/lib/postgresql/data" | |
redis: | |
image: redis:5.0.12-alpine | |
ports: | |
- "6379:6379" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment