Docker Compose

version: "3.1"

services:
  watchtower:
    image: containrrr/watchtower:1.4.0
    container_name: "watchtower"
    restart: always
    volumes:
      - /root/.docker/config.json:/config.json
      - /var/run/docker.sock:/var/run/docker.sock
    command: --interval 30 --cleanup
    logging:
      driver: "json-file"
      options:
        max-size: "1m"
        max-file: "1"

  cxperium-assistant:
    image: index.docker.io/qsoftdocker/${image_name}:latest
    container_name: "cxperium-assistant"
    restart: always
    ports:
      - 443:80
    logging:
      driver: "json-file"
      options:
        max-size: "1m"
        max-file: "1"
  • Temin edilmiş olan DMZ Ubuntu sunucusunun /root dizininde cxperium-assistant isimli bir dosya oluşturulup, yukarıdaki içeriği dockerhub üzerinde oluşturduğunuz container image'a göre güncelleyerek docker-compose.yml adıyla kaydetmeniz gerekmektedir.

Last updated