Skip to content

Instantly share code, notes, and snippets.

@chrisvasqm
Last active June 4, 2024 18:07
Show Gist options
  • Save chrisvasqm/0a5ea3de4270b3fe173ee8a3c53c1494 to your computer and use it in GitHub Desktop.
Save chrisvasqm/0a5ea3de4270b3fe173ee8a3c53c1494 to your computer and use it in GitHub Desktop.
services:
postgres:
image: postgres:16.3-alpine3.20
container_name: appname
ports:
- '5432:5432'
environment:
POSTGRES_DB: appname
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
postgres_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment