{
	"etc": {
		"environment": [
			"GITLAB_HOME=/opt/gitlab",
			"ADAMOCOMP_HOME=/opt/adamocomp/",
			"ADAMOCOMP_CONFDIR=/etc/adamocomp/"
		]
	},
	"cmd": {
		"shutdown": ["sudo shutdown now"]
	},
	"adamocomp": {
		"repo": "sys/adamocomp.git",
		"issue_path": "$ADAMOCOMP_HOME",
		"suggest": [
			"No git?"
		]
	},
	"bash-logger": {
		"repo": "sys/bash-logger.git",
		"issue_path": "$ADAMOCOMP_HOME/bash-logger",
		"run": "syslog.sh"
	},
	"tex-live": {
		"repo": "support/tex-live.git",
		"apt": [
			"install -y texlive-latex-extra texlive-xetex"
		]
	},
	"charybdis": {
		"repo": "sys/charybdis.git",
		"docker": {
			"issue_path": "/opt/charybdis",
			"image": "vanityshed/charybdis",
			"options": [
				[
					"--rm"
				],
				[
					"--volume",
					"/opt/charybdis:/irc/etc"
		  		],
		  		[
		  			"--publish",
					"5000:5000",
					"6665:6665",
					"6666:6666",
		  			"6667:6667",
		  			"6668:6668",
		  			"6669:6669",
		  			"6697:6697",
		  			"172.17.0.2:9999:9999"
		  		],
		  		["--restart","always"],
		  		["--hostname","b5vr.adamo.network"]
			]
		},
		"suggest": [
			"Mounting problem?"
		]
	},
	"gitlab": {
		"repo": "GITLABREPO.git",
		"docker": {
			"issue_path": "/opt/gitlab",
			"image": "gitlab/gitlab-ce:latest",
			"options": [
				[
					"--rm"
				],
				[
					"--volume",
					"/opt/gitlab/config:/etc/gitlab:Z",
					"/opt/gitlab/logs:/var/log/gitlab:Z",
		  			"/opt/gitlab/data:/var/opt/gitlab:Z"
		  		],
		  		[
		  			"--publish",
		  			"45443:45443",
		  			"45080:45080",
		  			"45022:22"
		  		],
		  		["--restart","always"],
		  		["--hostname","gitlab.adamo.network"],
		  		[
		  			"-e",
		  			"GITLAB_OMNIBUS_CONFIG=\"external_url 'https://gitlab.adamo.network:45443'; gitlab_rails['gitlab_shell_ssh_port'] = 45022\""
		  		]
			]
		},
		"suggest": [
			"Running as a bootstrap."
		]
	},
	"gitlab-runner": {
		"repo": "sys/gitlab-runner.git",
		"docker": {
			"issue_path": "/opt/gitlab-runner",
			"image": "gitlab/gitlab-runner:latest",
			"options": [
				[
					"--rm"
				],
				[
					"--volume",
					"/srv/gitlab-runner/config:/etc/gitlab-runner",
					"/var/run/docker.sock:/var/run/docker.sock"
		  		],
		  		["--restart","always"]
			]
		},
		"suggest": [
			"Can't reach the volumes?"
		]
	},
	"archivebox": {
		"repo": "apps/archivebox.git",
		"docker": {
			"image": "archivebox/archivebox",
			"options": [
				[
					"--publish",
					"8000:8000"
				],
				[	
					"--env",
					"USE_COLOR=True",
					"SHOW_PROGRESS=False"
				],
				["--restart","always"]
			]
		}
	},
    "asciiflow": {
    	"repo": "apps/asciiflow.git",
    	"docker": {
			"image": "fraoustin/asciiflow",
			"options": [
		  		[
		  			"--publish",
		  			"9000:80"
		  		],
		  		["--restart","always"]
		  	]
		}
    },
    "db-postgres": {
    	"repo": "sys/db-postgres.git",
    	"docker" :{
			"image": "postgres",
			"options": [
				["--restart","always"],
				["--hostname","postgres.adamo.network"],
				["-e","POSTGRES_PASSWORD=giganticmetaphor"]
			]
    	}
    },
    "adminer": {
    	"repo": "sys/adminer.git",
    	"docker": {
			"image": "adminer",
			"options": [
				["--restart","always"],
				["--hostname","adminer.adamo.network"],
				[
		  			"--publish",
		  			"8080,8080"
		  		]
			]
    	}
    },
    "adamopad": {
    	"docker": {
			"image": "etherpad/etherpad",
			"options": [
				["--restart","always"],
				["--hostname","adminer.adamo.network"],
				[
		  			"--publish",
		  			"9001,9001"
		  		],
		  		[
		  			"-e",
					"TITLE=Adamopad",
            		"DEFAULT_PAD_TEST='Adamopad for tsen-like sharings.'",
            		"ADMIN_PASSWORD='azxssfa'",
            		"PAD_OPTIONS_USE_MONOSPACE_FONT='true'",
            		"PAD_OPTIONS_USER_NAME='true'",
            		"PAD_OPTIONS_USER_COLOR='true'",
            		"SKIN_VARIANTS='super-dark-toolbar super-dark-editor super-dark-background'",
            		"DB_TYPE=postgres",
            		"DB_HOST=localhost",
            		"DB_PORT=5432",
            		"DB_NAME=adamopad",
            		"DB_USER=postgres",
            		"DB_PASS=giganticmetaphor"
		  		]
			]
    	}
    },
	"covid-data": {
		"repo": "owid/covid-19-data/tree/master/public/data/ecdc",
		"git_src": "https://github.com/",
		"suggest": [
			"Setup github retrieval."
		]
	},
	"tmux-conf": {
		"repo": "config/tmux-conf.git",
		"issue_path": "~",
		"issue_files": [".tmux.conf"]
	},
	"dictd": {
		"apt": [
  			"install -y dict dictd dict-gcide dict-moby-thesaurus"
		],
		"systemctl": [
			"enable dictd"
		],
		"bashrc": [
			"alias thes='dict -d moby-thesaurus'",
			"alias define='dict'"
		],
		"suggest": [
			"Not debian?",
			"No network?"
		]
	},
	"list_matches": {
		"repo": "function/list_matches.git",
		"run": [
			"list_matches.sh"
		],
		"suggest": [
			"Use filenames.",
			"One list element per line."
		]
	},
	"adamonet": {
		"atlas": {
			"britannia": {
				"remote": {
					"host": "britannia.adamonet",
					"ports": {
						"ssh": 22,
						"znc": 31415
					}
				},
				"local": {
					"host": "localhost",
					"ipv4": "207.148.15.96"
				}
			},
			"espana": {
				"remote": {
					"host": "espana",
					"ports": {
						"ssh": 22
					},
					"user": "rancher"
				},
				"local": {
					"ipv4": "10.",
					"host": "localhost"
				}
			}
		},
		"internum": {
			"clusterio": {
				"integer": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"factorio": 50002
						}
					},
					"local": {
						"host": "factorarium.internum.adamo",
						"ports": {
							"ssh": 22,
							"factorio": 1000
						}
					}
				},
				"vacatium": {
					"host": "integer.internum.adamo",
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"factorio": 50003
						}
					},
					"local": {
						"host": "factorarium.internum.adamo",
						"ports": {
							"ssh": 22,
							"factorio": 1000
						}
					}
				}
			},
			"austr": {
				"remote": {
					"host": "internum.adamo",
					"ports": {
						"ssh": 22150,
						"resilio-sync-panel": 40000
					}
				},
				"local": {
					"host": "austr.internum.adamo",
					"ipv4": "192.168.6.150"
				}
			},
			"sicilia": {
				"syracusae": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"ssh": 22010,
							"http": 8010
						}
					},
					"local": {
						"host": "syracusae.internum.adamo",
						"ipv4": "192.168.6.10"
					}
				},
				"melita": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"ssh": 22020
						}
					},
					"local": {
						"ipv4": "192.168.6.20",
						"host": "melita.internum.adamo"
					}
				},
				"factorarium": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"ssh": 22101
						}
					},
					"local": {
						"ipv4": "192.168.6.101",
						"host": "factorarium.internum.adamo"
					}
				},
				"dockerpad": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"ssh": 22102
						}
					},
					"local": {
						"ipv4": "192.168.6.102",
						"host": "dockerpad.internum.adamo"
					}
				},
				"acragas": {
					"remote": {
						"host": "internum.adamo",
						"ports": {
							"ssh": 22104
						},
						"user": "rancher"
					},
					"local": {
						"ipv4": "192.168.6.104",
						"host": "acragas.internum.adamo"
					}
				}
			}
		}
	}
}