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?)
And this is the Docker compose used:
version: "3.4"
services:
baserow:
container_name: baserow
image: baserow/baserow:1.10.0
ports:
- "3001:80"
- "444:443"
environment:
BASEROW_PUBLIC_URL: http://baserow.mydomain.com:3001
WEB_FRONTEND_SSL_PORT: 444
WEB_FRONTEND_PORT: 3001
DATABASE_HOST: 123.456.789.999
DATABASE_PORT: 5432
DATABASE_NAME: baserow
DATABASE_USER: baserow
DATABASE_PASSWORD: kjhakjhakjhak
SYNC_TEMPLATES_ON_STARTUP: stop
volumes:
- data:/baserow/data
volumes:
data:
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.