I have the following Dockerfile:
FROM docker.ci.artifacts.walmart.com/wce-docker/ca-roots:latest AS ca_roots
FROM hub.docker.prod.walmart.com/inductiveautomation/ignition:8.3.0 AS base
USER root
# Install Walmart Root CAs at OS level
COPY --from=ca_roots /usr/local/share/ca-certificates /usr/local/share/ca-certificates
COPY --from=ca_roots /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN rm -f /etc/ssl/cert.pem && ln -s /etc/ssl/certs/ca-certificates.crt /etc/ssl/cert.pem
# Install Walmart Root CAs at gateway level
COPY --from=ca_roots --chown=ignition:ignition /etc/ssl/certs/ca-certificates.crt /usr/local/bin/ignition/data/certificates/supplemental/ca-certificates.crt
# Copy modules, gateway config, and scripts, and set permissions
COPY --chown=ignition:ignition ./modules/. /usr/local/bin/ignition/user-lib/modules/
COPY --chown=ignition:ignition ./data/config/ /usr/local/bin/ignition/data/config/
COPY --chown=ignition:ignition ./data/projects/ /usr/local/bin/ignition/data/projects/
COPY --chown=ignition:ignition ./data/redundancy.xml /usr/local/bin/ignition/data/redundancy.xml
COPY --chown=ignition:ignition ./data/gateway.xml /usr/local/bin/ignition/data/gateway.xml
# Switch to non-root user `ignition`. Must use numeric ID for WCNP (ignition:ignition = 2003:2003)
USER 2003
And the following docker-compose.yml
version: '3.8'
services:
localGateway:
image: ignitiondockerfile build: ./ user: root container_name: localGateway ports: - 8088:8088 - 8043:8043 - 8060:8060 - 80:80 - 443:443 volumes: - gw-data:/usr/local/bin/ignition/data environment: - ACCEPT_IGNITION_EULA=Y - GATEWAY_ADMIN_USERNAME=admin - GATEWAY_ADMIN_PASSWORD=password - IGNITION_EDITION=standard - TZ=America/Chicago - GATEWAY_RESTORE_DISABLED=False - DISABLE_QUICKSTART=True entrypoint: \["docker-entrypoint.sh","-n","Ignition-Scada-83-beta","-m","14336","--","-Dignition.config.mode=Development","gateway.forceSecureRedirect=false","-XX:ActiveProcessorCount=10","-Duser.timezone=america/chicago"\]
volumes:
gw-data:
When I stand up this docker image with docker compose, it puts the gateway in “Development” mode which is what I want. When I launch the designer, two things are happening:
- The designer’s Perspective Property Editor is completely blank. I have deleted the .ignition folder and restarted the designer but that didn’t fix the issue.
- When I attempt to create a perspective view, where it should show the view being created it says “forbidden”.
I have stood up the docker image in “core” mode and launched the designer and had the same issues. I also stood up the just the docker image without adding the different folder/files (commented out) and had the same issues.
Not sure what I need to do from here, any help would be appreciated.