[Docker] Set web.xml Parameters in Docker Compose

Yep, it works. Complete docker-compose.yaml for anyone with the same issue.

version: "3.8"
services:
    # Ignition Gateway
    gateway:
        container_name: test
        image: inductiveautomation/ignition:8.1.26
        restart: unless-stopped
        mem_limit: 8192m
        ports:
            - "9088:8088"
            - "9043:8043"
        volumes:
            - gw-data:/usr/local/bin/ignition/data
            - nas:/mnt/nas
            - ./backup:/mnt/backup  # Bind mount backup folder.
        env_file: ignition.env
        secrets:
            - gateway-admin-password
        command: >
            -n Ignition
            -m 8192
            -r /mnt/backup/test.gwbk
            --
            wrapper.java.initmemory=4096
            -Dignition.allowunsignedmodules=true
            gateway.resolveHostNames=true
            gateway.useProxyForwardedHeader=true
            gateway.max-file-size=41697640

secrets:
    gateway-admin-password:
        file: secrets/GATEWAY_ADMIN_PASSWORD

volumes:
    gw-data:
        name: ignition-gw-data
    nas:
        name: nas
        driver: local
        driver_opts:
            type: cifs
            device: "//192.168.125.XXX/scada"
            o: "addr=192.168.125.XXX,username=admin,password=mildlyComplexPassword,file_mode=0777,dir_mode=0777"

My ignition.env file:

ACCEPT_IGNITION_EULA=Y
GATEWAY_ADMIN_USERNAME=admin
GATEWAY_ADMIN_PASSWORD_FILE=/run/secrets/gateway-admin-password
IGNITION_EDITION=standard
#IGNITION_LICENSE_KEY=XXXX-XXXX
TZ=Europe/Rome
4 Likes