mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-05 20:41:43 -07:00
chore: use zyclonite/zerotier as a controller image in docker-compose.yml example
This commit is contained in:
parent
bc5d78f3d3
commit
04624d13c8
3 changed files with 4 additions and 23 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue