Kumi
23071d36f2
Introduced a Dockerfile to containerize pyfiche alongside its dependencies. The setup includes the latest Python, installs pyfiche from a Git repository, and utilizes Supervisord for process management. Supervisord is configured to manage three pyfiche services: server, recup, and lines, ensuring they start on boot and restart on failure. Exposed ports allow external access, and a persistent data volume ensures data continuity. This encapsulates the pyfiche environment, providing a robust and consistent deployment method.
17 lines
330 B
Text
17 lines
330 B
Text
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:pyfiche-server]
|
|
command=pyfiche-server -o /usr/src/app/data
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:pyfiche-recup]
|
|
command=pyfiche-recup -o /usr/src/app/data
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:pyfiche-lines]
|
|
command=pyfiche-lines -o /usr/src/app/data
|
|
autostart=true
|
|
autorestart=true
|