mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 17:21:37 +01:00
wip: docker deployments stub
This commit is contained in:
25
roles/docker-deployments/tasks/main.yaml
Normal file
25
roles/docker-deployments/tasks/main.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
- name: Create opt-dir
|
||||
file:
|
||||
name: /opt/
|
||||
state: directory
|
||||
|
||||
- name: Copy compose templates
|
||||
template:
|
||||
src: {{ item }}
|
||||
dest: /opt/
|
||||
with_items:
|
||||
- athq-landing.yaml
|
||||
- grafana.yaml
|
||||
- potaris-en.yaml
|
||||
- potaris.yaml
|
||||
- sector32.yaml
|
||||
|
||||
- name: Copy compose templates
|
||||
compose:
|
||||
TODO
|
||||
with_items:
|
||||
- athq-landing.yaml
|
||||
- grafana.yaml
|
||||
- potaris-en.yaml
|
||||
- potaris.yaml
|
||||
- sector32.yaml
|
||||
4
roles/docker-deployments/templates/athq-landing.yaml
Normal file
4
roles/docker-deployments/templates/athq-landing.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
athqlanding:
|
||||
ports:
|
||||
- 5002:5000
|
||||
image: registry.atlantishq.de/athq/landing-page
|
||||
8
roles/docker-deployments/templates/grafana.yaml
Normal file
8
roles/docker-deployments/templates/grafana.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
grafana:
|
||||
ports:
|
||||
- 3000:3000
|
||||
image: grafana/grafana-oss
|
||||
volumes:
|
||||
- "/var/lib/grafana:/var/grafana"
|
||||
environment:
|
||||
GF_INSTALL_PLUGINS : "grafana-clock-panel,grafana-simple-json-datasource"
|
||||
4
roles/docker-deployments/templates/potaris-en.yaml
Normal file
4
roles/docker-deployments/templates/potaris-en.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
potaris:
|
||||
ports:
|
||||
- 5003:5000
|
||||
image: registry.atlantishq.de/athq/potaris-en
|
||||
4
roles/docker-deployments/templates/potaris.yaml
Normal file
4
roles/docker-deployments/templates/potaris.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
potaris:
|
||||
ports:
|
||||
- 5003:5000
|
||||
image: registry.atlantishq.de/athq/potaris
|
||||
4
roles/docker-deployments/templates/sector32.yaml
Normal file
4
roles/docker-deployments/templates/sector32.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
sector32:
|
||||
ports:
|
||||
- 5001:5000
|
||||
image: registry.atlantishq.de/athq/sector32
|
||||
Reference in New Issue
Block a user