10 lines
328 B
YAML
10 lines
328 B
YAML
services:
|
|
- docker
|
|
install:
|
|
- docker build --build-arg PKGURL=https://dl.ubnt.com/unifi/5.7.23/unifi_sysvinit_all.deb -t unifi .
|
|
- docker run -d -p 8443:8443 -e RUNAS_UID0=true --name unifi unifi
|
|
script:
|
|
- docker ps | grep -q unifi
|
|
- docker logs unifi
|
|
- sleep 10 && curl -kILs --fail https://127.0.0.1:8443 || exit 1
|