Ansible role that installs open-asfa as a docker stack, test environment
Go to file
Andrea Dell'Amico 34a3180b5e
Fix the secrets names
2023-06-03 15:16:14 +02:00
.vscode Remote volumes for pg and pgadmin 2023-06-03 14:23:39 +02:00
defaults Remote volumes for pg and pgadmin 2023-06-03 14:23:39 +02:00
handlers Initial commit 2021-03-09 14:16:57 +01:00
meta Fix the meta file. 2023-04-04 17:12:57 +02:00
tasks Fix the name of the pg config script 2023-06-03 15:08:02 +02:00
templates Fix the secrets names 2023-06-03 15:16:14 +02:00
tests Initial commit 2021-03-09 14:16:57 +01:00
vars First commit. 2021-03-09 15:05:22 +01:00
.gitignore Initial commit 2021-03-09 14:16:57 +01:00
LICENSE Initial commit 2021-03-09 14:16:57 +01:00
README.md Fix the stack name. Create the db label. 2021-03-09 15:40:18 +01:00

README.md

Role Name

A role that installs the Open ASFA docker stack, test environment

Role Variables

The most important variables are listed below:

open_asfa_compose_dir: '/srv/open_asfa_stack_test'
open_asfa_docker_stack_name: 'open-asfa-test'
open_asfa_docker_service_server_name: 'asfa-server-test'
open_asfa_docker_service_client_name: 'asfa-client-test'
open_asfa_docker_server_image: 'lucabrl01/asfa-server'
open_asfa_docker_client_image: 'lucabrl01/asfa-client'
open_asfa_docker_network: 'open_asfa_test_net'
open_asfa_behind_haproxy: True
open_asfa_haproxy_public_net: 'haproxy-public'
# DB
open_asfa_db_as_container: True
open_asfa_db_pg_version: 12
open_asfa_db_image: 'postgres:{{ open_asfa_db_pg_version }}-alpine'
open_asfa_db_host: 'pg'
open_asfa_db_port: 5432
#open_asfa_db_pwd: 'set it in a vault file'
open_asfa_db_name: 'asfadb'
open_asfa_db_user: 'asfadb_user'
open_asfa_db_volume: 'asfa_pg_data'
open_asfa_db_allowed_hosts:
  - '127.0.0.1/8'
open_asfa_db_constraints: '[node.labels.pg_data==asfa_server]'

open_asfa_psql_db_data: 
  - { db_host: '{{ open_asfa_db_host }}', pgsql_version: '{{ open_asfa_db_pg_version }}', name: '{{ open_asfa_db_name }}', encoding: 'UTF8', user: '{{ open_asfa_db_user }}', roles: 'CREATEDB,NOSUPERUSER', pwd: '{{ open_asfa_db_pwd }}', allowed_hosts: '{{ open_asfa_db_allowed_hosts }}' }

Dependencies

A docker swarm cluster is required

License

EUPL-1.2

Author Information

Andrea Dell'Amico, andrea.dellamico@isti.cnr.it