Look at what I have now
version: '3.7'
services:
ignition:
image: inductiveautomation/ignition:latest
ports:
- 9088:8088
- 9060:8060
volumes:
- gw-data:/usr/local/bin/ignition/data
- C:\Users\USER\Downloads\Ignition-d967586f6d3a_Ignition-backup-20240118-0900.gwbk:/restore.gwbk
environment:
- ACCEPT_IGNITION_EULA=Y
- IGNITION_NETWORK_INTERFACE=docker
- IGNITION_GATEWAY_ADDRESS=localhost
- IGNITION_GATEWAY_PORT=9088
- IGNITION_GATEWAY_SECURE_PORT=9043
- IGNITION_EDITION=standard
- GATEWAY_ADMIN_USERNAME=admin
- GATEWAY_ADMIN_PASSWORD=password1
command: >
-n ignition_gateway
-h 9088
-s 9043
-a localhost
-r /restore.gwbk
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
restart: always
volumes:
gw-data:
I downloaded the backup file and mount the path to the container and used the runtime -r
flag