Question about deploying locally via docker-compose #71
-
The sample docker-compose.yml file shows this volume:
I am wondering if that means that the whole current working directory will be mapped?
and creating a data folder which should be mapped. Seems to work, the folder gets used and the result is that data contains: docuseal/attachments and docuseal/.env - so I am wondering whether to map:
Instead? I am also wondering why docuseal.env contains this line: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ovizii The docuseal.env was created for those who don't use docker-compose but use docker run. It's ok to use docker compose env variables - in this case you can just ignore the docuseal.env file. |
Beta Was this translation helpful? Give feedback.
@ovizii The
.:/data
mapping is used because it's the shortest possible mapping for the docker run command :)That's true that the current directory is shared - users can just change it to ./other_directory:/data if they want to have some other folder mapped.
docuseal.env was created for those who don't use docker-compose but use docker run. It's ok to use docker compose env variables - in this case you can just ignore the docuseal.env file.