mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 22:48:32 +01:00
fix: add picture-factory to kube1
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
- include_vars: services.yaml
|
||||||
|
|
||||||
- name: Create data-dir
|
- name: Create data-dir
|
||||||
file:
|
file:
|
||||||
name: /data/
|
name: /data/
|
||||||
@@ -52,6 +54,7 @@
|
|||||||
- hedgedoc
|
- hedgedoc
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: Copy AtlantisHub config
|
- name: Copy AtlantisHub config
|
||||||
copy:
|
copy:
|
||||||
@@ -97,6 +100,7 @@
|
|||||||
- hedgedoc
|
- hedgedoc
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: Copy compose templates
|
- name: Copy compose templates
|
||||||
template:
|
template:
|
||||||
@@ -117,6 +121,7 @@
|
|||||||
- hedgedoc
|
- hedgedoc
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: Log into private registry
|
- name: Log into private registry
|
||||||
docker_login:
|
docker_login:
|
||||||
@@ -145,6 +150,7 @@
|
|||||||
- hedgedoc
|
- hedgedoc
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: OAuth2Proxy directories
|
- name: OAuth2Proxy directories
|
||||||
file:
|
file:
|
||||||
@@ -158,6 +164,7 @@
|
|||||||
- async-icinga
|
- async-icinga
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: include services ports
|
- name: include services ports
|
||||||
include_vars: services.yaml
|
include_vars: services.yaml
|
||||||
@@ -173,6 +180,7 @@
|
|||||||
- async-icinga
|
- async-icinga
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|
||||||
- name: Deploy OAuth2Proxy
|
- name: Deploy OAuth2Proxy
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
@@ -185,3 +193,4 @@
|
|||||||
- async-icinga
|
- async-icinga
|
||||||
- atlantis-verify
|
- atlantis-verify
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
- python-flask-picture-factory
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
image-factory:
|
||||||
|
image: harbor-registry.atlantishq.de/atlantishq/atlantis-image-factory:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "{{ services[item].port + 1000 }}:5000"
|
||||||
|
environment:
|
||||||
|
UPLOAD_ENABLED: "yes"
|
||||||
|
PICTURES_DIRECTORY: pictures
|
||||||
|
volumes:
|
||||||
|
- "/data/image-factory/pictures/:/app/pictures/"
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
services:
|
services:
|
||||||
python-flask-picture-factory:
|
|
||||||
port: 5000
|
|
||||||
serien-ampel:
|
serien-ampel:
|
||||||
port: 5001
|
port: 5001
|
||||||
simple-log-server:
|
simple-log-server:
|
||||||
@@ -23,3 +21,5 @@ services:
|
|||||||
port: 5013
|
port: 5013
|
||||||
soundlib-interface:
|
soundlib-interface:
|
||||||
port: 5014
|
port: 5014
|
||||||
|
python-flask-picture-factory:
|
||||||
|
port: 5015
|
||||||
|
|||||||
Reference in New Issue
Block a user