Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Docker images are distributed with 2 different container types. All images are hosted in the docker hub https://hub.docker.com/u/6kare address.

On container start, the default domain is automatically created with "admin@emakin.com" user and "admin" password. The application can be accessed from http://localhost address, and the host administration settings can be accessed from http://localhost/hostadm address.

...

Code Block
languageyaml
version: '4'
services:
  haproxy:
    image: haproxy:latest
    volumes:
      - "./haproxy:/usr/local/etc/haproxy:ro"
    restart: always
    ports:
      - "80:80"
      - "443:443"
      - "7180:7180"
      - "25:25"
      - "587:587"
      - "465:465"
  web1:
    image: 6kare/emakin:latest
    hostname: emakinapp1
    expose:
      - "80"
      - "5000"
    volumes:
      - "ftdata:/ftdata"
    depends_on:
      - redis
      - postgres
      - basex
      - tika
    volumes:
      - "emkdata:/app/Configuration/Data"
    environment:
      - AK_DbProvider=PostgreSql
      - AK_DbConnStr=Host=postgres;Database=ALTIKARE;Username=ALTIKARE;Password=ALTIKARE;
      - AK_RedisConnStr=redis,allowAdmin=true
      - AK_BasexConnStr=http://admin:admin@basex:1984/
      - AK_TikaConnStr=http://tika:9998/tika
      - AK_WopiConnStr=http://onlyoffice/hosting/discovery
      - AK_AntivirusServerUrl=tcp://clamav:3310
  web2:
    image: 6kare/emakin:latest
    hostname: emakinapp2
    expose:
      - "80"
      - "7180"
      - "25:25"
      - "587:587"
      - "465:465"
    volumes:
      - "emkdata:/app/Configuration/Data"
    depends_on:
      - redis
      - postgres
      - basex
      - tika
      - onlyoffice
    environment:
      - AK_DbProvider=PostgreSql
      - AK_DbConnStr=Host=postgres;Database=ALTIKARE;Username=ALTIKARE;Password=ALTIKARE;
      - AK_RedisConnStr=redis,allowAdmin=true
      - AK_BasexConnStr=http://admin:admin@basex:1984/
      - AK_TikaConnStr=http://tika:9998/tika
      - AK_WopiConnStr=http://onlyoffice/hosting/discovery
      - AK_AntivirusServerUrl=tcp://clamav:3310
  web3:
    image: 6kare/emakin:latest
    hostname: emakinapp3
    expose:
      - "80"
      - "7180"
      - "25:25"
      - "587:587"
      - "465:465"
    volumes:
      - "emkdata:/app/Configuration/Data"
    depends_on:
      - redis
      - postgres
      - basex
      - tika
      - onlyoffice
    environment:
      - AK_DbProvider=PostgreSql
      - AK_DbConnStr=Host=postgres;Database=ALTIKARE;Username=ALTIKARE;Password=ALTIKARE;
      - AK_RedisConnStr=redis,allowAdmin=true
      - AK_BasexConnStr=http://admin:admin@basex:1984/
      - AK_TikaConnStr=http://tika:9998/tika
      - AK_WopiConnStr=http://onlyoffice/hosting/discovery
      - AK_AntivirusServerUrl=tcp://clamav:3310
  postgres:
    image: "postgres"
    restart: always
    volumes:
      # - "/var/run/postgres/postgres.sock:/var/run/postgres/postgres.sock"
      - "pgdata:/var/lib/postgresql/data"
    environment:
      - POSTGRES_USER=ALTIKARE
      - POSTGRES_PASSWORD=ALTIKARE
      - POSTGRES_DB=ALTIKARE
  redis:
    image: "redis:alpine"
    expose:
      - "6379"
  basex:
    image: "6kare/basex"
    expose:
      - "1984"
    volumes:
      - "basexdata:/srv/basex/data"
  tika:
    image: "6kare/tika2"
    restart: always
    expose:
      - 9998
  onlyoffice:
    image: onlyoffice/documentserver
    environment:
      USE_UNAUTHORIZED_STORAGE: "true"
      WOPI_ENABLED: "true"
    expose:
      - 80
      - 443
clamav:
        image: "clamav/clamav:latest"
        restart: always
        expose:
            - 3310
        volumes:
            - "clamavdata:/var/lib/clamav"
volumes:
  pgdata:
  basexdata:
  ftdata:

...