version: '3'
services:
ng:
environment:
- VIRTUAL_HOST_SPECIFIC_PORT=true
image: jwilder/nginx-proxy
ports:
- 80:80
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
cod:
image: ide666:latest
environment:
VIRTUAL_HOST: "b.localhost:8080,b.localhost:3000"
VIRTUAL_PORT: 8080
ports:
- 8080
- 3000
- 3001
- 3002
command: code-server --auth none
volumes:
- "./:/home/coder/project"
- "./:/home/coder/.local/share/code-server"