diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-21 20:30:12 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-21 20:30:16 +0200 |
commit | 3268d4474eea18568a9e60f62df32aa6a05c5f09 (patch) | |
tree | dcefc080305895b6123f03420439b8c3dd0a0dfe /docker | |
parent | bdecf1b3ba24112d61b25ce3f94d43aba990eaf5 (diff) | |
download | infra-3268d4474eea18568a9e60f62df32aa6a05c5f09.tar.gz infra-3268d4474eea18568a9e60f62df32aa6a05c5f09.tar.bz2 infra-3268d4474eea18568a9e60f62df32aa6a05c5f09.tar.xz infra-3268d4474eea18568a9e60f62df32aa6a05c5f09.zip |
docker
Diffstat (limited to 'docker')
-rw-r--r-- | docker/birgitte/docker-compose.yaml | 10 | ||||
-rwxr-xr-x | docker/unifi | 30 | ||||
-rw-r--r-- | docker/unifi.yaml | 22 |
3 files changed, 62 insertions, 0 deletions
diff --git a/docker/birgitte/docker-compose.yaml b/docker/birgitte/docker-compose.yaml new file mode 100644 index 0000000..d47144a --- /dev/null +++ b/docker/birgitte/docker-compose.yaml @@ -0,0 +1,10 @@ +--- +version: "2" +services: + business-central-workbench-showcase: + # docker run -p 7080:8080 -p 7001:8001 -d --name business-central-workbench jboss/business-central-workbench-showcase:latest + + image: jboss/business-central-workbench-showcase:latest + ports: + - "7080:8080" + - "7001:8001" diff --git a/docker/unifi b/docker/unifi new file mode 100755 index 0000000..362eda8 --- /dev/null +++ b/docker/unifi @@ -0,0 +1,30 @@ +#!/bin/bash + +# https://github.com/linuxserver/docker-unifi-controller + +set -x + +docker pull linuxserver/unifi-controller + +docker stop unifi-controller +docker rm unifi-controller + +docker create \ + --name=unifi-controller \ + -e PUID=1000 \ + -e PGID=1000 \ + -e MEM_LIMIT=1024M `#optional` \ + -p 3478:3478/udp \ + -p 10001:10001/udp \ + -p 8080:8080 \ + -p 8081:8081 \ + -p 8443:8443 \ + -p 8843:8843 \ + -p 8880:8880 \ + -p 6789:6789 \ + -v unifi-controller-data:/config \ + --restart unless-stopped \ + linuxserver/unifi-controller + +docker start unifi-controller +docker image prune diff --git a/docker/unifi.yaml b/docker/unifi.yaml new file mode 100644 index 0000000..7d31b2a --- /dev/null +++ b/docker/unifi.yaml @@ -0,0 +1,22 @@ +--- +version: "2" +services: + unifi-controller: + image: linuxserver/unifi-controller + container_name: unifi-controller + environment: + - PUID=1000 + - PGID=1000 + - MEM_LIMIT=256M #optional + volumes: + - unifi-controller-data:/config + ports: + - 3478:3478/udp + - 10001:10001/udp + - 8080:8080 + - 8081:8081 + - 8443:8443 + - 8843:8843 + - 8880:8880 + - 6789:6789 + restart: unless-stopped |