Add dashboard container

Bump scipio version of 0.2.3
This commit is contained in:
Ethan Paul 2021-01-15 00:59:09 -05:00
parent 7ac5a81774
commit e333809b4a
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6
2 changed files with 25 additions and 5 deletions

View File

@ -35,21 +35,41 @@ services:
deploy: deploy:
replicas: 1 replicas: 1
dashboard:
image: adminer:{{ omni_compose_apps.scipio.versions.dashboard | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-dashboard
depends_on:
- database
networks:
- scipio
ports:
- published: {{ omni_compose_apps.scipio.published.ports.8080 }}
target: 8080
protocol: tcp
mode: ingress
environment:
ADMINER_DESIGN: pepa-linha
ADMINER_DEFAULT_SERVER: database
deploy:
replicas: 1
phantom: phantom:
image: scipio:{{ omni_compose_apps.scipio.versions.phantom | default(omni_compose_apps.scipio.versions.default) }} image: scipio:{{ omni_compose_apps.scipio.versions.phantom | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-phantom hostname: scipio-phantom
depends_on:
- database
networks: networks:
- scipio - scipio
environment: environment:
SCIPIO_INTERVAL: "30" SCIPIO_INTERVAL: "30"
SCIPIO_DB_BACKEND: MARIA SCIPIO_DB_BACKEND: MARIA
SCIPIO_DB_HOST: scipio-database SCIPIO_DB_HOST: database
SCIPIO_DB_PORT: "3306" SCIPIO_DB_PORT: "3306"
SCIPIO_DB_USERNAME: root SCIPIO_DB_USERNAME: root
SCIPIO_DB_PASSWORD: {{ omni_compose_app_secrets.scipio.database_password }} SCIPIO_DB_PASSWORD: {{ omni_compose_app_secrets.scipio.database_password }}
SCIPIO_DB_SCHEMA: scipio 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 --verbose command: --phantom -vv
deploy: deploy:
replicas: 1 replicas: 1

View File

@ -87,7 +87,7 @@ omni_compose_apps:
scipio: scipio:
build: build:
repository: git@github.com:tjyork/Scipio.git repository: git@github.com:tjyork/Scipio.git
version: 0.2.0 version: 0.2.3
datastore: /appdata/scipio datastore: /appdata/scipio
account: account:
name: mech_scipio name: mech_scipio
@ -95,10 +95,10 @@ omni_compose_apps:
published: published:
host: scipio.net.enp.one host: scipio.net.enp.one
ports: ports:
8081: 8080 8080: 8081
networks: networks:
main: 192.168.106.0/24 main: 192.168.106.0/24
versions: versions:
default: latest default: latest
database: "10" database: "10"
phantom: 0.2.0 phantom: 0.2.3