Skip to content

Instantly share code, notes, and snippets.

@austinorth
Last active April 27, 2020 20:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save austinorth/4b467549d3b17de8ba1aeb53d6d25a68 to your computer and use it in GitHub Desktop.
Save austinorth/4b467549d3b17de8ba1aeb53d6d25a68 to your computer and use it in GitHub Desktop.
A docker-compose file for pghero with config file mounted from host machine.
version: "3.7"
services:
pghero:
image: ankane/pghero
container_name: pghero
network_mode: host
ports:
- 8080:8080
environment:
DATABASE_URL: postgres://postgres:postgres@localhost:5432
volumes:
- /home/user/pghero/pghero.yml:/app/config/pghero.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment