diff --git a/resources/docker-compose/scipio.yaml.j2 b/resources/docker-compose/scipio.yaml.j2 index 8e7b288..0a58530 100644 --- a/resources/docker-compose/scipio.yaml.j2 +++ b/resources/docker-compose/scipio.yaml.j2 @@ -35,21 +35,41 @@ services: deploy: 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: image: scipio:{{ omni_compose_apps.scipio.versions.phantom | default(omni_compose_apps.scipio.versions.default) }} hostname: scipio-phantom + depends_on: + - database networks: - scipio environment: SCIPIO_INTERVAL: "30" SCIPIO_DB_BACKEND: MARIA - SCIPIO_DB_HOST: scipio-database + 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_HANDLER: tipranks - command: --phantom --verbose + command: --phantom -vv deploy: replicas: 1 diff --git a/vars/applications.yml b/vars/applications.yml index e8bc917..39c3bce 100644 --- a/vars/applications.yml +++ b/vars/applications.yml @@ -87,7 +87,7 @@ omni_compose_apps: scipio: build: repository: git@github.com:tjyork/Scipio.git - version: 0.2.0 + version: 0.2.3 datastore: /appdata/scipio account: name: mech_scipio @@ -95,10 +95,10 @@ omni_compose_apps: published: host: scipio.net.enp.one ports: - 8081: 8080 + 8080: 8081 networks: main: 192.168.106.0/24 versions: default: latest database: "10" - phantom: 0.2.0 + phantom: 0.2.3