Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Can't use config.yml with Docker #40

Open
bilyboy785 opened this issue Nov 21, 2017 · 2 comments
Open

Can't use config.yml with Docker #40

bilyboy785 opened this issue Nov 21, 2017 · 2 comments

Comments

@bilyboy785
Copy link

I mount my config.yml in the docker-compose file but Explorer don't use it ... How can i do ?

explorer:
    restart: always
    container_name: explorer
    image: explorer
    volumes:
      - /home/user/dockers/explorer/docker/config/config.yml:/opt/explorer
      - /home/user/dockers/explorer/docker/config/users:/users
      - /home/user/dockers/explorer/docker/data/archive:/archive
      - /home/user/dockers/explorer/docker/data/trash:/trash
      - /home/user/dockers/explorer/docker/data/upload:/upload
      - /home/user/data:/data
    ports:
      - 7745:4859
    environment:
      - VIRTUAL_HOST=domain.tld
      - LETSENCRYPT_HOST=domain.tld
      - LETSENCRYPT_EMAIL=contact@domain.tld
@soyuka
Copy link
Owner

soyuka commented Nov 22, 2017

might be that it doesn't load the config, try to use the debug env variable:
DEBUG="explorer:*" you should see from which path it load the configuration.

@bilyboy785
Copy link
Author

bilyboy785 commented Nov 22, 2017

Where i can found this info ?

On the admin page, i see a default config file and at the bottom i've got :

/usr/src/app/doc/examples/config.yml

When i try to mount my config.yml, docker can't create my contenair.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants