Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Docker Compose file doesn't handle .env correctly. #767

Open
Kickbub opened this issue Dec 12, 2024 · 0 comments
Open

[Bug]: Docker Compose file doesn't handle .env correctly. #767

Kickbub opened this issue Dec 12, 2024 · 0 comments
Assignees

Comments

@Kickbub
Copy link

Kickbub commented Dec 12, 2024

Bug description

In the compose.yaml

volumes:
            # mount .env from the same directory or use environment variables
            - .env:/opt/lavamusic/.env

Compose assumes .env is a directory because it is not an absolute path.

${PWD}/.env:/opt/lavamusic/.env may be better.

Steps to reproduce

Create .env file
Run docker compose up
See error

Operating System

Ubuntu 22.04.5 LTS

Node.js version

23.3.0

java version

18.0.2.1

Application/Library version

c13d88d

Error logs or screenshots

No response

Additional context

No response

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

No branches or pull requests

2 participants