1
0
Fork 0
PiSwitch_frontend/docker-compose.yml

31 lines
505 B
YAML

version: "3.7"
services:
web:
container_name: nginx
restart: unless-stopped
image: nginx:alpine
ports:
- 81:80
depends_on:
- api
volumes:
- ./src:/usr/share/nginx/html
networks:
- piswitch-network
api:
container_name: raspapi
image: appserver/raspapi
restart: unless-stopped
ports:
- 5000:5000
tty: true
working_dir: /code/src/
networks:
- piswitch-network
networks:
piswitch-network:
driver: bridge