question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported config option for services: 'lndg'

See original GitHub issue

I am trying to install using docker compose

I am currently getting this error

$ docker-compose up -d
ERROR: The Compose file './docker-compose.yaml' is invalid because:
Unsupported config option for services: 'lndg'

docker file:

services:
  lndg:
    build: .
    volumes:
      - /home/ben/.lnd:/root/.lnd:ro
      - /home/ben/projects/lndg/data:/lndg/data:rw
    command:
      - sh
      - -c
      - python initialize.py -net 'mainnet' -server '127.0.0.1:10009' -d && supervisord && python manage.py runserver 0.0.0.0:8889
    network_mode: "host"

docker versions:

$ docker-compose --version
docker-compose version 1.25.0, build unknown
$ docker --version
Docker version 20.10.16, build aa7e414

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
benthecarmancommented, May 26, 2022

That worked 🎉

Supervisord setup requested...
Data directory already found...
/usr/local/lib/python3.10/site-packages/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  self.warnings.warn(
Performing system checks...

System check identified no issues (0 silenced).
May 26, 2022 - 14:52:50
Django version 4.0.4, using settings 'lndg.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
0reactions
cryptosharks131commented, May 26, 2022

Ah sorry, for docker please update the Dockerfile on line 3 in order to pull the v1.1.2 code.

https://github.com/cryptosharks131/lndg/blob/master/Dockerfile#L3

Update to: RUN git clone https://github.com/cryptosharks131/lndg.git -b v1.1.2 /lndg

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker-compose : Unsupported config option for services ...
Show activity on this post. Since this is the first result on Googling "docker-compose Unsupported config option for services", I would like to...
Read more >
Unsupported config option for services: 'docs' · Issue #186
Hello @iplayfast. I had the same problem but then I clicked on the 'docker-compose' link from the readme and installed the docker compose ......
Read more >
Unsupported Config option for services: profiles - Compose
Here's the error message on running docker-compose build: ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported ...
Read more >
gpu "Unsupported config option for services.node-odm: ' ...
It is this error that occurs on ubuntu server when run with --gpu parameter. There was no such error on Ubuntu desktop. I...
Read more >
All configuration options
AWS Lambda Type Default AWS Lambda Common Type Default AWS Lambda Gateway REST API Type Default Agroal ‑ Database connection pool Type Default
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found