Add executor and falcon services to scipio deployment

This commit is contained in:
Ethan Paul 2021-02-05 00:26:09 -05:00
parent 39603cbb9b
commit 7ed9f5c2a0
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6
2 changed files with 52 additions and 11 deletions

View File

@ -2,6 +2,15 @@
version: "{{ omni_compose_version | string }}" 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: networks:
scipio: scipio:
name: scipio name: scipio
@ -66,15 +75,41 @@ services:
networks: networks:
- scipio - scipio
environment: environment:
SCIPIO_INTERVAL: "30" <<: *globalenv
SCIPIO_DB_BACKEND: MARIA SCIPIO_INTERVAL: "10"
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
SCIPIO_PHANTOM_FEED: https://blog.tipranks.com/feed/ SCIPIO_PHANTOM_FEED: https://blog.tipranks.com/feed/
SCIPIO_PHANTOM_HANDLER: tipranks 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: deploy:
replicas: 1 replicas: 1

View File

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