Sign inSign up

codingjoe/the-box:main

Manifest digest

sha256:4fac77f8b03e20514022a9920907e2e45cc91cd9224b94844d3752b34795c756

Last pushed

17 days by codingjoe

Type

Compose

Manifest digest

sha256:4fac77f8b03e20514022a9920907e2e45cc91cd9224b94844d3752b34795c756

Compose file content

name: the-box
services:
  caddy:
    image: codingjoe/the-box-caddy:main
    container_name: caddy
    depends_on:
      - caddy-redis
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
      - caddy_data:/data
      - caddy_config:/config
    environment:
      CADDY_INGRESS_NETWORKS: caddy
    ports:
      - '0.0.0.0:80:80'
      - '0.0.0.0:443:443'
      - '0.0.0.0:443:443/udp'
    networks:
      - caddy
      - caddy-wan
      - caddy-cache
    command: [ "docker-proxy", "--caddyfile-path", "/etc/caddy/Caddyfile" ]
    restart: unless-stopped
    healthcheck:
      test: caddy validate --config /etc/caddy/Caddyfile
    labels:
      - "dev.dozzle.group=the-box"
    cap_add:
      - NET_ADMIN
  caddy-redis:
    image: redis:8.10.1-alpine
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - caddy_redis:/data
    networks:
      - caddy-cache
    restart: unless-stopped
    healthcheck:
      test: [ "CMD", "redis-cli", "ping" ]
      interval: 10s
      retries: 5
      start_period: 30s
      timeout: 10s
    labels:
      - "dev.dozzle.group=the-box"
  dozzle:
    image: amir20/dozzle:v10.8.0
    container_name: dozzle
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - '127.0.0.1:8080:8080'
    networks:
      - dozzle
    restart: unless-stopped
    healthcheck:
      test: [ "CMD", "/dozzle", "healthcheck" ]
      interval: 5s
      retries: 5
      start_period: 5s
    labels:
      - "dev.dozzle.group=the-box"
networks:
  caddy:
    name: caddy
    internal: true
    external: false
  caddy-wan:
    name: caddy-wan
    internal: false
  caddy-cache:
    name: caddy-cache
    internal: true
    external: false
  dozzle:
    name: dozzle
    internal: false
volumes:
  caddy_data:
  caddy_config:
  caddy_redis:

Docker commands

docker compose -f oci://codingjoe/the-box:main up

Use the above command to pull and run the Compose file. Learn more.

Images used

Image + 1 more

Redis is the world’s fastest data platform for caching, vector search, and NoSQL databases.


Pulls

1B+

Stars

13616

Last Updated

about 9 hours

Image

Dozzle is a real-time log viewer for docker containers.


Pulls

100M+

Stars

148

Last Updated

about 2 hours

Image


Pulls

4.2K

Stars

0

Last Updated

17 days