mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-02-14 08:44:25 +01:00
This commit is contained in:
3
examples/atlas/README.md
Normal file
3
examples/atlas/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# References
|
||||
|
||||
- https://github.com/karam-ajaj/atlas
|
||||
52
examples/atlas/docker-compose.yml
Normal file
52
examples/atlas/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user