mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 18:18: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
|
||||
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
|
||||
|
||||
@@ -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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user