Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- frontend:
- build: ./frontend/
- command: npm run start
- volumes:
- - ./frontend/:/usr/app/
- - ./frontend/node_modules
- ports:
- - '3000:3000'
- db:
- image: postgres
- ports:
- - '5432:5432'
- environment:
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=postgres
- - POSTGRES_DB=exampledb
- db_admin:
- image: dpage/pgadmin4
- ports:
- - '5555:80'
- environment:
- - PGADMIN_DEFAULT_EMAIL=asdf
- - PGADMIN_DEFAULT_PASSWORD=asdf
- depends_on:
- - db
- api:
- build: ./backend/api/
- command: npm run dev
- volumes:
- - ./backend/api/:/usr/app/
- - /backend/api/node_modules
- ports:
- - '3333:3333'
- depends_on:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement