chore: use zyclonite/zerotier as a controller image in docker-compose.yml example

This commit is contained in:
dec0dOS 2022-06-14 18:37:44 +03:00
parent bc5d78f3d3
commit 04624d13c8
3 changed files with 4 additions and 23 deletions

View file

@ -49,14 +49,3 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep_zero-ui.outputs.tags }}
- name: Build and push zerotier-controller
id: docker_build_zerotier-controller
uses: docker/build-push-action@master
with:
context: ./
file: ./docker/zerotier/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/arm
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/zerotier-controller:latest

View file

@ -2,14 +2,14 @@ version: "3.9"
services:
zerotier:
image: dec0dos/zerotier-controller:latest
image: zyclonite/zerotier:1.10.0
container_name: zu-controller
build:
context: .
dockerfile: ./docker/zerotier/Dockerfile
restart: unless-stopped
volumes:
- controller_data:/var/lib/zerotier-one
environment:
- ZT_OVERRIDE_LOCAL_CONF=true
- ZT_ALLOW_MANAGEMENT_FROM=0.0.0.0/0
expose:
- "9993/tcp"
ports:

View file

@ -1,8 +0,0 @@
FROM zyclonite/zerotier:latest
RUN echo "{\"settings\": {\"portMappingEnabled\": true,\"softwareUpdate\": \"disable\",\"allowManagementFrom\": [\"0.0.0.0/0\"]}}" > /var/lib/zerotier-one/local.conf
EXPOSE 9993/tcp
EXPOSE 9993/udp
ENTRYPOINT ["zerotier-one"]