Skip to content

Instantly share code, notes, and snippets.

@rechner
Created August 24, 2023 23:03
Show Gist options
  • Save rechner/7466c5c9f073b1b300cefa724731f1f0 to your computer and use it in GitHub Desktop.
Save rechner/7466c5c9f073b1b300cefa724731f1f0 to your computer and use it in GitHub Desktop.
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080
volumes:
pgdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment