fix: add picture-factory to kube1

This commit is contained in:
2024-01-14 18:32:41 +00:00
parent 4e60fbf588
commit a45eabb5a9
3 changed files with 23 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
- include_vars: services.yaml
- name: Create data-dir
file:
name: /data/
@@ -52,6 +54,7 @@
- hedgedoc
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: Copy AtlantisHub config
copy:
@@ -97,6 +100,7 @@
- hedgedoc
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: Copy compose templates
template:
@@ -117,6 +121,7 @@
- hedgedoc
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: Log into private registry
docker_login:
@@ -145,6 +150,7 @@
- hedgedoc
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: OAuth2Proxy directories
file:
@@ -158,6 +164,7 @@
- async-icinga
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: include services ports
include_vars: services.yaml
@@ -173,6 +180,7 @@
- async-icinga
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory
- name: Deploy OAuth2Proxy
community.docker.docker_compose:
@@ -185,3 +193,4 @@
- async-icinga
- atlantis-verify
- soundlib-interface
- python-flask-picture-factory

View File

@@ -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/"

View File

@@ -1,6 +1,4 @@
services:
python-flask-picture-factory:
port: 5000
serien-ampel:
port: 5001
simple-log-server:
@@ -23,3 +21,5 @@ services:
port: 5013
soundlib-interface:
port: 5014
python-flask-picture-factory:
port: 5015