Compare commits

...

4 Commits

5 changed files with 66 additions and 19 deletions

View File

@ -23,7 +23,7 @@
- name: Configure Nginx
hosts: jupiter
vars_files:
- vars/applications.yml
- vars/applications.yaml
vars:
_letsencrypt_cert_dir: /etc/letsencrypt/live
handlers:

View File

@ -9,7 +9,7 @@
prompt: Enter name of application stack to deploy
private: false
vars_files:
- vars/applications.yml
- vars/applications.yaml
tasks:
- name: Validate user input
assert:
@ -26,7 +26,7 @@
- name: Build image
hosts: virtualization
vars_files:
- vars/applications.yml
- vars/applications.yaml
tasks:
- import_tasks: tasks/docker/build.yml
@ -34,8 +34,8 @@
- name: Configure datastore
hosts: jupiter
vars_files:
- vars/applications.yml
- vars/secrets/applications.yml
- vars/applications.yaml
- vars/secrets/applications.yaml
tasks:
- name: Create application datastore directory
become: true
@ -50,8 +50,8 @@
- name: Configure docker stack
hosts: jupiter
vars_files:
- vars/applications.yml
- vars/secrets/applications.yml
- vars/applications.yaml
- vars/secrets/applications.yaml
tasks:
- name: Create compose configuration directory
become: true

View File

@ -2,6 +2,15 @@
version: "{{ omni_compose_version | string }}"
x-global-env: &globalenv
SCIPIO_DB_BACKEND: MARIA
SCIPIO_DB_HOST: database
SCIPIO_DB_PORT: "3306"
SCIPIO_DB_USERNAME: root
SCIPIO_DB_PASSWORD: {{ omni_compose_app_secrets.scipio.database_password }}
SCIPIO_DB_SCHEMA: scipio
networks:
scipio:
name: scipio
@ -24,6 +33,11 @@ services:
hostname: scipio-database
networks:
- scipio
ports:
- published: {{ omni_compose_apps.scipio.published.ports.3306 }}
target: 3306
protocol: tcp
mode: ingress
volumes:
- type: volume
source: scipio
@ -61,15 +75,41 @@ services:
networks:
- scipio
environment:
SCIPIO_INTERVAL: "30"
SCIPIO_DB_BACKEND: MARIA
SCIPIO_DB_HOST: database
SCIPIO_DB_PORT: "3306"
SCIPIO_DB_USERNAME: root
SCIPIO_DB_PASSWORD: {{ omni_compose_app_secrets.scipio.database_password }}
SCIPIO_DB_SCHEMA: scipio
<<: *globalenv
SCIPIO_INTERVAL: "10"
SCIPIO_PHANTOM_FEED: https://blog.tipranks.com/feed/
SCIPIO_PHANTOM_HANDLER: tipranks
command: --phantom -vv
command: --phantom
deploy:
replicas: 1
executor:
image: scipio:{{ omni_compose_apps.scipio.versions.executor | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-executor
depends_on:
- database
- phantom
networks:
- scipio
environment:
<<: *globalenv
SCIPIO_INTERVAL: "5"
SCIPIO_EXECUTOR_HANDLER: hologram
command: --executor
deploy:
replicas: 1
falcon:
image: scipio:{{ omni_compose_apps.scipio.versions.falcon | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-falcon
depends_on:
- database
- executor
networks:
- scipio
environment:
<<: *globalenv
SCIPIO_INTERVAL: "60"
command: --falcon
deploy:
replicas: 1

View File

@ -2,6 +2,7 @@
omni_compose_version: 3.7
omni_compose_apps:
bitwarden:
datastore: /appdata/bitwarden
account:
@ -19,6 +20,7 @@ omni_compose_apps:
default: 1.36.1
web: 2.15.1
attachments: 1.34.0
gitea:
datastore: /appdata/gitea
account:
@ -33,6 +35,7 @@ omni_compose_apps:
main: 192.168.103.0/24
versions:
default: 1.11.5
minecraft:
datastore: /appdata/minecraft
account:
@ -46,6 +49,7 @@ omni_compose_apps:
versions:
main: latest
server: 1.15.2
plex:
datastore: /appdata/plex
account:
@ -66,6 +70,7 @@ omni_compose_apps:
main: 192.168.101.0/24
versions:
default: latest
unifi:
datastore: /appdata/unifi
account:
@ -84,10 +89,11 @@ omni_compose_apps:
main: 192.168.100.0/24
versions:
default: "5.12"
scipio:
build:
repository: git@github.com:tjyork/Scipio.git
version: 0.2.3
version: 0.5.2
datastore: /appdata/scipio
account:
name: mech_scipio
@ -96,9 +102,10 @@ omni_compose_apps:
host: scipio.net.enp.one
ports:
8080: 8081
3306: 33306
networks:
main: 192.168.106.0/24
versions:
default: latest
default: 0.5.2
database: "10"
phantom: 0.2.3
dashboard: latest

@ -1 +1 @@
Subproject commit 13a35d8e308ef8053b3d3031371e389f9e440a14
Subproject commit a6d05271693459972cc749ab6024d797b9904ee1