archerysec icon indicating copy to clipboard operation
archerysec copied to clipboard

Docker persistence missing

Open back0nline opened this issue 4 years ago • 2 comments

There is no Docker persistence

The documentation says how to do it but actually it does not work

For what i saw on the dockerfile and dockerfile-alpine there is no "VOLUME" pointing to "/home/archerysec".

back0nline avatar Mar 04 '21 21:03 back0nline

If you look at the example docker compose file it shows how you can setup archery with a postgres db in a separate container with persistence. I think you're right on the method shown in the docs though, it doesn't appear to work.

neilmusgrove avatar Mar 04 '21 22:03 neilmusgrove

I expected the db to maintain persistence data but that seems not to be the case, I got persistence working by mounting the app folder from the container on the host.

docker cp archerysec:/home/archerysec/app . chown 999.999 app/* -R

williamchalmers avatar Oct 14 '23 11:10 williamchalmers