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

Handle env file #87

Closed
gdmn opened this issue Jun 6, 2024 · 1 comment
Closed

Handle env file #87

gdmn opened this issue Jun 6, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@gdmn
Copy link

gdmn commented Jun 6, 2024

Variables from .env file are currently ignored, quadlet generation from compose file using these variables fails.

E.g., Immich compose file with "${UPLOAD_LOCATION}/photos:/usr/src/app/upload" volume definition:

wget https://raw.githubusercontent.com/immich-app/immich/main/docker/docker-compose.yml

podlet compose docker-compose.yml 
Error: 
   0: error converting compose file
   1: error reading compose file
   2: File `docker-compose.prod.yml` is not a valid compose file
   3: services.immich-server.volumes[0]: error parsing volume source: error parsing volume identifier: invalid start character `$`, identifiers must start with an ASCII letter (a-z, A-Z) or digit (0-9) at line 14 column 9

Location:
   src/cli/compose.rs:203

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
@k9withabone
Copy link
Member

Pretty sure this is a duplicate of #81, please correct me if I'm wrong.

@k9withabone k9withabone closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
@k9withabone k9withabone added the duplicate This issue or pull request already exists label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants