Skip to content

Instantly share code, notes, and snippets.

@clairtonluz
Last active August 22, 2019 12:13
Show Gist options
  • Save clairtonluz/3b689f3ee3be7787347b4ccf73567cb3 to your computer and use it in GitHub Desktop.
Save clairtonluz/3b689f3ee3be7787347b4ccf73567cb3 to your computer and use it in GitHub Desktop.
version: "3.7"
services:
db:
image: postgres
environment:
POSTGRES_USER: example
POSTGRES_DB: example
POSTGRES_PASSWORD: example
app:
depends_on:
- db
build: .
command: ["./wait-for-migration.sh", "npm", "start"]
ports:
- "80:3000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment