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

Instructions for running via Docker #2

Merged
merged 1 commit into from
Apr 30, 2022
Merged

Instructions for running via Docker #2

merged 1 commit into from
Apr 30, 2022

Conversation

ajtrichards
Copy link
Contributor

I thought i'd add some instructions for getting up and running with the Dockerfile that's in the repo

@brtwrst
Copy link
Contributor

brtwrst commented Apr 29, 2022

You might want to include a mount of the /data dicrectory to enable data persistance

@jlongster
Copy link
Contributor

Good call about /data -- how would that look here? Can you update it?

@avioli
Copy link

avioli commented Apr 30, 2022

Usually something like:

mkdir ./data
docker run -p 5006:5006 -v "$(pwd)/data":/data actual-server

Depending on throughput the above method might have certain slowdowns, since it will be transferring data over the bridge to the host's file system.

An alternative would be to use docker volume create myvolume as described here: https://docs.docker.com/storage/volumes/#create-and-manage-volumes and use docker run ... --mount source=myvolume,target=/data ...

Backing up the latter is described on the same page as above: https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes

@jlongster
Copy link
Contributor

Will merge this for now. We can iterate!

@jlongster jlongster merged commit efd273b into actualbudget:master Apr 30, 2022
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

Successfully merging this pull request may close these issues.

None yet

4 participants