Need Help Fixing a Docker Compose Error with LibrePhotos

0
1
Asked By PixelPioneer42 On

I've been stuck for three days trying to build LibrePhotos using Docker on Ubuntu 16.04 LTS, and I keep running into the same error: "The compose file './docker-compose.yml' is invalid because: Unsupported config option for services: 'db'". I tried modifying the YAML file by adding $ signs to make it recognize the variables, but now I'm stuck with this new error. Does anyone have any advice on how to resolve this issue?

2 Answers

Answered By TechyTurtle18 On

First off, Ubuntu 16.04 is pretty dated, and that could be causing you issues with Docker compatibility. This version is technically still under Extended Security Maintenance (ESM), but many applications may not work properly on it anymore, especially newer software like LibrePhotos. You might want to consider upgrading to a more recent version, as it will support the latest Docker features and security updates.

Answered By CodeCrafter77 On

Could you share your docker-compose.yml file? It's vital for diagnosing your issue. Just a heads up, given that you’re running such an old OS, your Docker Engine and Compose might also be outdated, leading to these kinds of errors. Getting on a newer version could save you a lot of headaches!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.