Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.4"
- services:
- api:
- container_name: "app_api"
- image: api:latest
- build: ./api
- ports:
- - 3000:3000
- # volumes:
- # - ".:/usr/share/origin"
- # - "/var/run/docker.sock:/var/run/docker.sock"
- environment:
- - API_PORT=3000
- - LOG_LEVEL=debug
- - DEBUG=express:*
- - PG_HOST=postgres
- - PG_PORT=54320
- - PG_DATABASE=dev_app
- - PG_USER=api_user
- - PG_PW=password
- postgres:
- image: "postgres:11"
- container_name: "postgres"
- ports:
- - "54320:54320"
- environment:
- - POSTGRES_PASSWORD=password
- - POSTGRES_USER=api_user
- - PGPORT=54320
- volumes:
- - postgres:/var/lib/postgresql/data
- volumes:
- postgres:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement