mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 07:59:43 +00:00
refactor: Use separate .env.modern and .env.legacy files
- Remove base-legacy.yml and base-modern.yml (YAML anchors don't work with include) - Make all compose files self-contained - Add .env.modern (8G RAM, 4 CPU) for Win 10/11, Server 2016+ - Add .env.legacy (2G RAM, 2 CPU) for older systems - Update README and .env.example documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
620cda9282
commit
c27837738d
22 changed files with 291 additions and 212 deletions
|
|
@ -1,16 +1,20 @@
|
|||
include:
|
||||
- ../base-legacy.yml
|
||||
|
||||
services:
|
||||
tiny11:
|
||||
<<: *legacy
|
||||
image: dockurr/windows
|
||||
container_name: tiny11
|
||||
env_file: ../../.env
|
||||
env_file: ../../.env.legacy
|
||||
environment:
|
||||
VERSION: "tiny11"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8111:8006
|
||||
- 3111:3389/tcp
|
||||
- 3111:3389/udp
|
||||
volumes:
|
||||
- ../../data/tiny11:/storage
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 2m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue