Workflow update

main
technorabilia 2 years ago
parent 37de014f5c
commit 282a4beb9d

@ -13,10 +13,10 @@ services:
- PUID=${PUID:-1024} - PUID=${PUID:-1024}
# for UserID # for UserID
- PGID=${PGID:-100} - PGID=${PGID:-100}
# Optionally change the Java memory limit (-Xmx) (default is 1024M). # Optionally change the Java memory limit. Set to `default` to reset to default
- MEM_LIMIT=1024M # optional - MEM_LIMIT=1024 # optional
# Optionally change the Java initial memory (-Xms) (default is 1024M). # Optionally change the Java initial/minimum memory. Set to `default` to reset to default
- MEM_STARTUP=1024M # optional - MEM_STARTUP=1024 # optional
volumes: volumes:
# All Unifi data stored here # All Unifi data stored here
- ${BASEDIR:-/volume1/docker}/unifi-controller/config:/config - ${BASEDIR:-/volume1/docker}/unifi-controller/config:/config

@ -7,8 +7,8 @@ docker run -d \
--name=unifi-controller \ --name=unifi-controller \
-e PUID=${PUID:-1024} `# for GroupID` \ -e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \ -e PGID=${PGID:-100} `# for UserID` \
-e MEM_LIMIT=1024M `# optional` `# Optionally change the Java memory limit (-Xmx) (default is 1024M).` \ -e MEM_LIMIT=1024 `# optional` `# Optionally change the Java memory limit. Set to `default` to reset to default` \
-e MEM_STARTUP=1024M `# optional` `# Optionally change the Java initial memory (-Xms) (default is 1024M).` \ -e MEM_STARTUP=1024 `# optional` `# Optionally change the Java initial/minimum memory. Set to `default` to reset to default` \
-p 3478:3478/udp `# Unifi STUN port` \ -p 3478:3478/udp `# Unifi STUN port` \
-p 10001:10001/udp `# Required for AP discovery` \ -p 10001:10001/udp `# Required for AP discovery` \
-p 8080:8080 `# Required for device communication` \ -p 8080:8080 `# Required for device communication` \

Loading…
Cancel
Save