Dear mensur.durakovic ,
It depends what version of docker gateway you're trying to deploy.
From the yml file I cannot see what version, I assume it's docker gateway 9.3, then, if you want to use env license,
1. ACCEPT_LICENSE is true
2. need an empty SSG_LICENSE environment
3. need -Dcom.l7tech.bootstrap.env.license.enable=true in EXTRA_JAVA_ARGS environment
4. before deploy, need to export the SSG_LICENSE (which you have done)
Here is an example of yml file,
# cat gw93dockerfile.yml
ssg:
image: mark/gateway:mydoc1
mem_limit: 8192m
ports:
- "8080:8080"
- "8443:8443"
- "9443:9443"
- "2124:2124"
environment:
ACCEPT_LICENSE: "true"
SSG_ADMIN_USERNAME: "admin"
SSG_ADMIN_PASSWORD: "7layer"
SSG_DATABASE_JDBC_URL: "jdbc:mysql://<my docker host>:3306/ssg"
SSG_DATABASE_USER: "root"
SSG_DATABASE_PASSWORD: "7layer"
SSG_CLUSTER_HOST: "<my docker host>"
SSG_CLUSTER_PASSWORD: "7layer"
SSG_JVM_HEAP: "6g"
SSG_LICENSE:
EXTRA_JAVA_ARGS: "-XX:ParallelGCThreads=4 -Dcom.l7tech.bootstrap.env.license.enable=true -Dcom.l7tech.bootstrap.autoTrustSslKey=trustAnchor,TrustedFor.SSL,TrustedFor.SAML_ISSUER"
Regards,
Mark