Open edwardchalstrey1 opened 2 years ago
@matkoniecz can we close?
depends on whether we want to spend time on this...
maybe one of international partners created something like this and would want to share their work?
I've sketched out a podman(docker)-compose (rootless) deployment for the core services (nginx with https, app:prod, postgres/postgis, few db-migrations adjustments) grubl2f/colouring-dresden (ops branch)
# environment info:
cat /etc/fedora-release
# Fedora release 39 (Thirty Nine) # also 38
# podman v4, but v5 should work as well (no specific feature requirements)
podman-compose --version
# podman-compose version 1.0.7 # also 1.0.4
# podman version 4.8.3 # also 4.9.3
# docker substitute
cat /usr/bin/docker
# #!/usr/bin/sh
# [ -e /etc/containers/nodocker ] || \
# echo "Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg." >&2
# exec /usr/bin/podman "$@"
Tests in a clean environment (VM), for a regular docker (rootless) are on a todo-list,
Also, a k8s deployment could be derived then via podman kube generate
updated (manually tested) in a VM for:
podman (v5)
podman-compose
podman compose
(with docker compose plugin)docker compose
(all rootless, linux)
README
in (https://github.com/grubl2f/colouring-dresden/tree/ops/ops)
@grubl2f thanks for your work, so far.
I cloned your repo, switched to "ops" branch und could run everything just by running "docker-compose up" , so I just used Docker-Compose instead of Podman.
now, on localhost:8843 I can see the Platform. nice.
This could be very valuable to collaborators in other countries who want to set up there own instance of
colouring-london
with their own data on a server.The idea would be to have deployment scripts that can do the following, using tools such as Terraform (and possibly Ansible) to have a deployable version of CL that can, with minimal configuration: