WARNING - Work in Progress - It is not Bug Free! Use with Caution. This repository contains Dockerfiles and accompanying scripts that allow deployment of sw360 via docker
Eclipse Public License 1.0
13
stars
18
forks
source link
Refactor to current docker-compose version and to support docker swarm #56
To be able to use our chores configuration with a docker swarm deployment, we need to move to a version >=3.0. This PR does the migration to 3.7.
Sadly this implies that the mechanism used to get the file ./configuration.yml to work is no longer supported. Instead, this PR introduces the folder ./configuration/ where all the configuration is stored. These parts are added to the containers via
docker secrets for passwords and keys,
docker configs (for swarm) or read-only bind mounts (for docker-compose) and
usage of the env-file tag in docker-compose.
notes:
Couchdb password is now activated by default
There are unsafe keys in the source tree, e.g. for nginx and fossology-ssh-connection, they need to be replaced for a productive setup
To be able to use our chores configuration with a docker swarm deployment, we need to move to a version
>=3.0
. This PR does the migration to3.7
.Sadly this implies that the mechanism used to get the file
./configuration.yml
to work is no longer supported. Instead, this PR introduces the folder./configuration/
where all the configuration is stored. These parts are added to the containers viadocker secrets
for passwords and keys,docker configs
(for swarm) or read-only bind mounts (for docker-compose) andenv-file
tag in docker-compose.notes: