Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (36 sloc) 687 Bytes
version: '3'
services:
nodejs:
build: ./base-images/nodejs
api:
image: tutorial_nginx_reverse_proxy_nodejs
volumes:
- ../api:/src
working_dir: /src
environment:
- PORT=3002
- NODE_ENV=development
stdin_open: true
tty: true
entrypoint: /bin/bash
app:
image: tutorial_nginx_reverse_proxy_nodejs
volumes:
- ../app:/src
working_dir: /src
environment:
- PORT=3001
- HOST=app
- NODE_ENV=development
stdin_open: true
tty: true
entrypoint: /bin/bash
gateway:
build: ../gateway
volumes:
- ../gateway:/src
ports:
- "80:80"
depends_on:
- api
- app
You can’t perform that action at this time.