97 lines
2.4 KiB
YAML
97 lines
2.4 KiB
YAML
name: docker-ip-addr-manager
|
|
|
|
services:
|
|
app:
|
|
image: joafri/docker-ip-addr-manager-app:main
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
container_name: docker-ip-addr-manager
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
cap_add:
|
|
- NET_ADMIN
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
environment:
|
|
TZ: Europe/Stockholm
|
|
APP_PORT: "31810"
|
|
STATE_FILE: /data/entries.json
|
|
DOCKER_API_URL: unix:///var/run/docker.sock
|
|
DOCKER_TIMEOUT_SECONDS: "3"
|
|
volumes:
|
|
- type: bind
|
|
source: /DATA/AppData/$AppID/data
|
|
target: /data
|
|
- type: bind
|
|
source: /var/run/docker.sock
|
|
target: /var/run/docker.sock
|
|
read_only: true
|
|
x-casaos:
|
|
envs:
|
|
- container: APP_PORT
|
|
description:
|
|
en_us: HTTP port for the management UI
|
|
- container: DOCKER_API_URL
|
|
description:
|
|
en_us: Docker endpoint (unix socket default, optional tcp endpoint)
|
|
- container: DOCKER_TIMEOUT_SECONDS
|
|
description:
|
|
en_us: Timeout in seconds for Docker API requests
|
|
volumes:
|
|
- container: /data
|
|
description:
|
|
en_us: Persistent IP entry state
|
|
|
|
socket-proxy:
|
|
image: lscr.io/linuxserver/socket-proxy:version-24.02.26
|
|
container_name: docker-ip-addr-manager-proxy
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: Europe/Stockholm
|
|
CONTAINERS: 1
|
|
INFO: 1
|
|
PING: 1
|
|
POST: 0
|
|
VERSION: 1
|
|
read_only: true
|
|
tmpfs:
|
|
- /run
|
|
ports:
|
|
- target: 2375
|
|
published: "2375"
|
|
host_ip: 127.0.0.1
|
|
protocol: tcp
|
|
volumes:
|
|
- type: bind
|
|
source: /var/run/docker.sock
|
|
target: /var/run/docker.sock
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
|
|
x-casaos:
|
|
architectures:
|
|
- amd64
|
|
- arm64
|
|
- arm
|
|
main: app
|
|
category: phirna
|
|
author: Zima Apps Team
|
|
developer: Zima Apps Team
|
|
icon: https://cdn.simpleicons.org/docker
|
|
tagline:
|
|
en_us: Manage host LAN IP aliases for container port bindings
|
|
description:
|
|
en_us: >-
|
|
Adds/removes host interface IP aliases and shows whether an IP is used by Docker
|
|
container port bindings. Includes fail-closed disable/delete checks when usage cannot
|
|
be validated.
|
|
title:
|
|
en_us: Docker IP Addr Manager
|
|
index: /
|
|
port_map: "31810"
|
|
scheme: http
|