mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
wait for interface to be up
This commit is contained in:
parent
4d75e9e1aa
commit
0797f5899a
51 changed files with 1296 additions and 1004 deletions
16
compose.yml
16
compose.yml
|
|
@ -16,23 +16,28 @@ services:
|
|||
DISK_FMT: "qcow2"
|
||||
NETWORK: "Y"
|
||||
DEBUG: "Y"
|
||||
COMMIT: "Y"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8006:8006
|
||||
- 3389:3389/tcp
|
||||
- 3389:3389/udp
|
||||
restart: always
|
||||
stop_grace_period: 2m
|
||||
volumes:
|
||||
- ./windows:/storage
|
||||
- ./scripts:/oem
|
||||
- ./custom.xml:/custom.xml
|
||||
- ./custom.iso:/custom.iso
|
||||
|
||||
windows-installed:
|
||||
image: $IMAGE_NAME:$IMAGE_VERSION
|
||||
container_name: windows-installed
|
||||
privileged: true
|
||||
healthcheck:
|
||||
test: "[ -f /storage/ready ] || exit 1"
|
||||
test: "[ -f /local/ready ] || exit 1"
|
||||
interval: 30s
|
||||
retries: 20
|
||||
start_period: 60s
|
||||
|
|
@ -46,4 +51,9 @@ services:
|
|||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8006:8006
|
||||
- 3389:3389/tcp
|
||||
- 3389:3389/udp
|
||||
restart: always
|
||||
stop_grace_period: 2m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue