Skip to content

${PWD} no longer points to run_directory #1294

@macross5

Description

@macross5

In v1, I often used ${PWD} in the stacks so that I can set my “volume mounts” and the link to the .env file to the "run_directory".
In v2, ${PWD} is now only “/app”, so I can no longer perform a deployment at all.

Error from the deployment:
env file /app/.env not found: stat /app/.env: no such file or directory

In the docker compose iam using:

env_file:
    - ${PWD}/.env

It seems that creating the .env file in the correct directory (run_directory) works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions