Open LargoUsagi opened 3 years ago
I can probably do that as soon as I got my installation running without hicups. I'm anyways on a "docker trip" at the moment, containerizing everything that's not in the trees on 3 :laughing: .
@HeroesLament Any progress on this yet?
I've been spending the evening tryiong to get a docker compose file going, but keep getting stuck at sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file even though I've provided:
as env vars
localhost in docker means inside the same container. Is your db running in the same container? If not, you have to change that accordingly.
Oh good catch, but it doesn't fix the issue. FTS still acts as if it is supposed to connect to a sqlite db.
Ah, got it up and running.
https://github.com/CriticalTechIo/FreeTakServer/blob/master/docker-compose.yaml
I'll continue on this path and set up UI and other things as well. And later on try to make a sane setup for creating a local kubernetes cluster.
Btw this was one of the issues I had connecting to DB: https://github.com/FreeTAKTeam/FreeTakServer/blob/29e3e48fa49972dd021218a6d44d5750c47e8c76/FreeTAKServer/controllers/configuration/MainConfig.py#L118
Creating a docker compose file containing the most basic configurations targeting the deployment on a single machine is desirable for allowing people to use the containerized deployment as the project grows in complexity.