chore: add atlas
All checks were successful
CI / validateComposeSyntax (push) Successful in 21s

This commit is contained in:
LRVT
2026-01-24 21:26:50 +01:00
parent 8909b2a4a6
commit d560f04d2b
3 changed files with 56 additions and 0 deletions

3
examples/atlas/README.md Normal file
View File

@@ -0,0 +1,3 @@
# References
- https://github.com/karam-ajaj/atlas

View File

@@ -0,0 +1,52 @@
services:
atlas:
image: keinstien/atlas:latest
container_name: atlas
cap_add:
- NET_RAW
- NET_ADMIN
ports:
- 8888:8888/tcp # ui
- 8889:8889/tcp # api
expose:
- 8888
- 8889
environment:
- ATLAS_UI_PORT=8888
- ATLAS_API_PORT=8889
- FASTSCAN_INTERVAL=3600
- DOCKERSCAN_INTERVAL=3600
- DEEPSCAN_INTERVAL=7200
- SCAN_SUBNETS=192.168.0.0/24
- DOCKER_HOST=tcp://socket-proxy:2375
#networks:
# - proxy
# - atlas-internal
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.atlas.rule=Host(`atlas.example.com`)
# - traefik.http.services.atlas.loadbalancer.server.port=8888
# # Optional part for traefik middlewares
# - traefik.http.routers.atlas.middlewares=local-ipwhitelist@file
socket-proxy:
image: lscr.io/linuxserver/socket-proxy:latest
container_name: socket-proxy-atlas
environment:
- CONTAINERS=1
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
#networks:
# - atlas-internal
restart: always
read_only: true
tmpfs:
- /run
#networks:
# proxy:
# external: true
# atlas-internal:
# internal: true