mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-09-18 09:31:57 +00:00
- Add Docker Compose configurations for Ubuntu and Debian - Include interactive startup script for easy setup - Support for Windows, macOS, and Linux platforms - Comprehensive documentation and troubleshooting guide - Multiple deployment options (simple, custom build, etc.) This community contribution enables CasaOS to run in containers, making it accessible to users on non-Linux systems and providing isolated testing environments.
27 lines
527 B
YAML
27 lines
527 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
casaos:
|
|
image: casaos/casaos:latest
|
|
container_name: casaos-simple
|
|
restart: unless-stopped
|
|
network_mode: bridge
|
|
volumes:
|
|
- casaos_config:/var/lib/casaos
|
|
- casaos_etc:/etc/casaos
|
|
- casaos_share:/usr/share/casaos
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./data:/DATA
|
|
environment:
|
|
- CASAOS_ROOT_PATH=/
|
|
ports:
|
|
- "8080:80"
|
|
- "8443:443"
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
|
|
volumes:
|
|
casaos_config:
|
|
casaos_etc:
|
|
casaos_share:
|