08-02-2020, 09:53 PM
Hi Gary,
I'am working on a better version too, suited for a docker compose script where tactic, apache and postgres are on different containers.
I've been a bit too busy at works and hadn't much time to work on it.
The biggest problem is that tactic uses psql directly for some operation, like the creation of a new database, another point is making it possible to delete and recreate a container while keeping all the data, this imply changing the tactic install script quite a bit or writing a new one just for docker.
In your case I think the tacticenv package is not correctly installed in the python path
There is also another problem related to the fact that the tactic install path was moved from /home/apache to /opt/tactic and the install script creates tactic_temp in /opt/tactic/tactic_temp but your dockerfile does:
COPY tactic_linux-conf.xml /opt/tactic/tactic_data/config/tactic-conf.xml
and your tactic_linux-conf.xml has:
<tmp_dir>/home/apache/tactic_temp</tmp_dir>
I'am working on a better version too, suited for a docker compose script where tactic, apache and postgres are on different containers.
I've been a bit too busy at works and hadn't much time to work on it.
The biggest problem is that tactic uses psql directly for some operation, like the creation of a new database, another point is making it possible to delete and recreate a container while keeping all the data, this imply changing the tactic install script quite a bit or writing a new one just for docker.
In your case I think the tacticenv package is not correctly installed in the python path
There is also another problem related to the fact that the tactic install path was moved from /home/apache to /opt/tactic and the install script creates tactic_temp in /opt/tactic/tactic_temp but your dockerfile does:
COPY tactic_linux-conf.xml /opt/tactic/tactic_data/config/tactic-conf.xml
and your tactic_linux-conf.xml has:
<tmp_dir>/home/apache/tactic_temp</tmp_dir>