Skip to content

Instantly share code, notes, and snippets.

@diego3g
Created December 19, 2018 18:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save diego3g/e6fbcd637b62db4251fa66d9ffe24d30 to your computer and use it in GitHub Desktop.
Save diego3g/e6fbcd637b62db4251fa66d9ffe24d30 to your computer and use it in GitHub Desktop.
version: '3'
services:
postgres:
image: postgres
environment:
- POSTGRES_USER: ${DB_USERNAME}
- POSTGRES_PASSWORD: ${DB_PASSWORD}
app:
build: .
command: adonis serve --dev
env_file:
- .env
environment:
- DB_HOST=postgres
ports:
- "3333:3333"
depends_on:
- postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment