Sign inSign up

codingjoe/the-box:latest

Manifest digest

sha256:c4fa722a5f3c3c1d76c29e25b9a32db525be4c17f0740b9926112cb53521fd12

Last pushed

7 months by codingjoe

Type

Compose

Manifest digest

sha256:c4fa722a5f3c3c1d76c29e25b9a32db525be4c17f0740b9926112cb53521fd12

Compose file content

name: containers
networks:
  caddy:
    external: false
    internal: true
    name: caddy
  caddy-wan:
    internal: false
    name: caddy-wan
services:
  caddy:
    cap_add:
      - NET_ADMIN
    command:
      - docker-proxy
      - --caddyfile-path
      - /etc/caddy/Caddyfile
    container_name: caddy
    deploy:
      mode: global
    environment:
      CADDY_INGRESS_NETWORKS: caddy
    healthcheck:
      test: caddy validate --config /etc/caddy/Caddyfile
    image: codingjoe/the-box-caddy:main
    labels:
      - dev.dozzle.group=the-box
    networks:
      caddy: null
      caddy-wan: null
    ports:
      - mode: ingress
        protocol: tcp
        published: "80"
        target: 80
      - mode: ingress
        protocol: tcp
        published: "443"
        target: 443
      - mode: ingress
        protocol: udp
        published: "443"
        target: 443
    pull_policy: always
    restart: unless-stopped
    volumes:
      - bind:
          create_host_path: true
        source: /var/run/docker.sock
        target: /var/run/docker.sock
        type: bind
      - bind:
          create_host_path: true
        read_only: true
        source: /etc/localtime
        target: /etc/localtime
        type: bind
      - source: caddy_data
        target: /data
        type: volume
        volume: {}
      - source: caddy_config
        target: /config
        type: volume
        volume: {}
volumes:
  caddy_config:
    name: containers_caddy_config
  caddy_data:
    name: containers_caddy_data

Docker commands

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

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

Images used

Image


Pulls

4.2K

Stars

0

Last Updated

17 days