Skip to content

Docker Compose for Service #1698

@Blu3wolf

Description

@Blu3wolf

If you wish to run the docker version with auto start/monitoring/stop, etc, as a systemd style Linux Service, a systemd unit file is included in the service folder of the repo.

The following pre-requisites are required:

Requires odm user
Requires docker installed via system (ubuntu: sudo apt-get install docker.io)
Requires 'screen' package to be installed
Requires odm user member of docker group
Required WebODM directory checked out/cloned to /opt/WebODM
Requires that /opt/WebODM is recursively owned by odm:odm
Requires that a Python 3 environment is used at /opt/WebODM/python3-venv

Couldn't all this be moved into the docker container? This is pretty much what docker is built for, is to handle the dependencies. Screen seems like it could be safely replaced with a "docker compose up -d" for example. Same goes for the Python environment, wouldn't all that be better off inside a container?

Or am I missing something Docker can't or shouldn't do?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions