Hi there,
Following up my original issue (No such file or directory), I have made some changes to my compose files.
My docker-compose.yml
looks like
version: ‘2’
services:
qlever-gateway:
image: inforlife/qlever-gateway:2018.1
volumes:
- /samba/qlever-data:/qlever-data
env_file: /usr/app-env-files/qlever-gateway.env
environment:
ARCHIVE_DIR: /qlever-archive
And my rancher-compose.yml
looks like
version: ‘2’
services:
qlever-gateway:
scale: 1
labels:
io.rancher.scheduler.affinity:host_label: app=qlever-gateway
However, when I add a new stack using the 2 files above, the following configuration is used.
As you can see the env_file: /usr/app-env-files/qlever-gateway.env
is ignored.
The /usr/app-env-files/qlever-gateway.env
has been added to the machine where the rancher server is running.
Why is this happening? Am I missing something here?
I’m running server v1.6.17.
Thank you