Created
August 30, 2019 03:06
-
-
Save Oliver-ke/8f49ce02d2ce9bb2487efa02f4ec6a3a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
restart: always | |
build: . | |
container_name: wolfsbane-backend | |
links: | |
- postgres | |
environment: | |
DEV_DATABASE_URL: postgres://devuser:1234@postgres:5432/dev_db | |
NODE_ENV: development | |
PORT: 3000 | |
ports: | |
- 3000:3000 | |
command: npm run start:dev | |
volumes: | |
- .:/app/ | |
- /app/node_modules | |
postgres: | |
image: postgres:10.4 | |
ports: | |
- "35432:5432" | |
environment: | |
POSTGRES_USER: devuser | |
POSTGRES_PASSWORD: 1234 | |
POSTGRES_DB: dev_db | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment