broadcast/docker-compose.yml

32 lines
469 B
YAML
Raw Normal View History

2023-03-07 00:56:35 +01:00
version: '3'
services:
api:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- 8080:8080
ui:
image: node
volumes:
- ./ui:/src
ports:
- 3000:3000
environment:
WDS_SOCKET_HOST: 0.0.0.0
WDS_SOCKET_PORT: 0
working_dir: /src
command: yarn start
proxy:
image: nginx
volumes:
- ./devloop/nginx:/etc/nginx/conf.d
depends_on:
- api
- ui
ports:
- 80:80