earthcube / geocodes

This is the containers stacks to run geocodes
0 stars 0 forks source link

issues passing templates as ENV variables to geocodes_vue_services container #44

Open valentinedwv opened 8 months ago

valentinedwv commented 8 months ago

enable these in the docker compose files, causes a failure to build in portainer. (geocodes repos)

  environment:
        NODE_ENV: produdction
        S3ADDRESS: ${GLEANER_OSS_DOMAIN}
        S3KEY: ${MINIO_ROOT_ACCESS_KEY}
        S3SECRET: ${MINIO_ROOT_SECRET_KEY}
        S3SSL: ${S3SSL}
        S3PORT: ${S3PORT}
        BUCKET: ${BUCKET}
        BUCKETPATH: ${BUCKETPATH}
        # error in portainer about expansion of the {{}} stuff in the template
        # PATHTEMPLATE: ${PATHTEMPLATE}
        # TOOLTEMPLATE: ${TOOLTEMPLATE}
        TOOLPATH: ${TOOLPATH}
        TOOLREPO: ${TOOLREPO}
        URIVERSION: ${URIVERSION:-v1}

These are presently hard coded into server/configs/services.js

guess we change the template pattern from mustaches, to something... , so we can pass them in env variables