Dockerlinux / docker-compose.yaml
NicheBean's picture
Update docker-compose.yaml
89b741e verified
Raw History Blame Contribute Delete
438 Bytes
version: "3.8"
services:
webtop:
build: . # This will use the Dockerfile to build the image
ports:
- "8080:8080" # Expose Webtop on port 8080
environment:
- WEBTOP_USERNAME=admin
- WEBTOP_PASSWORD=secretpassword # Set username and password for Webtop (authentication)
restart: always
volumes:
- webtop-data:/home/user/webtop # Optional: persistent data for Webtop
volumes:
webtop-data: