File size: 438 Bytes
29dc994
 
 
89b741e
29dc994
ca278e2
29dc994
 
89b741e
ca278e2
 
89b741e
29dc994
 
ca278e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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: