financial-freedom icon indicating copy to clipboard operation
financial-freedom copied to clipboard

Document how to deploy with Docker Compose on Synology

Open jaydrogers opened this issue 1 year ago • 3 comments

jaydrogers avatar Jan 09 '24 18:01 jaydrogers

Is this project still in the works? Or has it been abandoned?

naesean avatar Jul 02 '24 18:07 naesean

Same question...

etienne-monier avatar Jul 03 '24 20:07 etienne-monier

@naesean @etienne-monier I found some rudimentary docs here:

https://serversideup.net/open-source/financial-freedom/docs/installation/install-on-synology (sources)

After following the instructions, the project failed to start and I first had to manually create the mounted directories.

ssh <synology-admin-user>@<synology-ip>  # use your admin user and password

mkdir -p /volume1/docker/financial-freedom/data/logs
mkdir -p /volume1/docker/financial-freedom/data/sessions
mkdir -p /volume1/docker/financial-freedom/data/database

I then had to proceed and ssh into my Synology and in the container (via sudo) and then change the permissions of the mounted directories to the www-data user:

sudo docker exec -it financial-freedom-php-1 chown -R www-data:www-data /var/www/html/storage/logs
sudo docker exec -it financial-freedom-php-1 chown -R www-data:www-data /var/www/html/storage/framework/sessions
sudo docker exec -it financial-freedom-php-1 chown -R www-data:www-data /var/www/html/.infrastructure/volume_data

Then I was able to visit the application via my synology IP and the exported HTTPS port 8443.

I was able to create an account, but then am greeted with an empty dashboard where no interactions seem to work and not errors show in the console...

image

Then I found this issue where it's indicated that the project is just not that far along yet: https://github.com/serversideup/financial-freedom/issues/107#issuecomment-1887599724

FYI @jaydrogers

tsterker avatar Aug 03 '24 18:08 tsterker