Hello everyone, ran into a weird issue with rancher-compose when i’m trying to use cross-stack linking.
In my default stack (which has been renamed to ‘Main’), I have a database. I have an image in another stack that will be linking to that database.
This is the docker compose file Im using:
wordpress: image: 192.168.201.110:5000/wrl/nginx-php-cache:latest expose: - "80" restart: always links: - memcached external_links: - Main/MariaDB:mysql volumes: - /sites/prod/wrladv.com/current/app:/var/www/app:rw entrypoint: /sbin/my_init memcached: image: memcached:latest restart: always mem_limit: 128000000 expose: - "11211"
This is the error it gives:
ERRO Failed Starting wordpress : json: cannot unmarshal number into Go value of type string ERRO Failed to start: wordpress : json: cannot unmarshal number into Go value of type string FATA json: cannot unmarshal number into Go value of type string
If I remove the external link and use rancher-compose it starts up fine. Then I can add the external link through the UI to get it to work. Anybody know why it is giving me the marshaling error?