It seems installing Baserow using standalone Docker image installs hundreds of sample user files by default – and corresponding thumbnail and cover files for these original user files.
Question
Is there any environment variable that will prevent this from occurring while deploying a container?
Reason/my person use case
I am trying to synchronize all user_files between my remote server and my local mac using a server synchronization tool and having all these sample files in there is annoying.
Hey @bfranklin , can you give more detail on what your standalone docker image is/your Dockerfile and the command you are using to launch Baserow?
This environment variable will work on our official backend, all-in-one docker image and docker-compose setups. Heres an example of how to set it with the all-in-one docker image which works for me:
Thanks @nigel for those updated Docker commands (and @Peter). I finally realized I can just deploy the standalone Docker image using Docker Compose and probably have more control that way than using the command line. I also did this using Portainer where you store your Docker compose files as a “stack”
My container has the following customizations:
✓ Custom standard port of 3001
✓ Custom ssl port of 444 (should note that I opened this port in my firewall in advance … though Docker compose, I think, attempts to do this itself)
✓ Custom postgres port of 5432 (instead of default 5430)
✓ Stop synchronization/download of template files
✓ Custom domain with A record pointed to IP of server to allow for custom domain
✓ Postgres outside Docker image on local: This also just references a Postgres server outside the docker container but still hosted on the same server (localhost) by just pointing the DATABASE_HOST variable to the local IP (though the documentation has some other way of doing this that might be better?)
I’d love to be able to actually add proper SSL and eliminate the need to have the custom ports in the domain but my attempts to get “BASEROW_CADDY_ADDRESSES” to work seem to be failing when I add it to this compose, add “https” and remove the “:3001” from the domain. I will, however, create a new post for this final issue I am running into since it’s separate.