homepage/docker-compose.yaml

30 lines
693 B
YAML
Raw Normal View History

2022-12-26 01:20:43 +00:00
version: '3'
services:
iot-web-server:
build: ./webserver
image: iot-web-server/v0.1
networks:
- lab-net
ports:
- 8080:8080
container_name: iot-web-server
restart: always
hostname: iot-web-server
volumes:
- "./iot-www:/home/www"
openvscode-server:
image: gitpod/openvscode-server:latest
container_name: "openvscode-server"
ports:
- 3000:3000
volumes:
- "./iot-www:/home/workspace"
entrypoint:
- "/home/.openvscode-server/bin/openvscode-server"
- "--host=0.0.0.0"
- "--without-connection-token"
# - "--connection-token=6b97db13-f2e3-41bb-a3a5-a18fdd1369e5"
networks:
lab-net: null