Compare commits

..

2 Commits

Author SHA1 Message Date
71025e272b
Add dashboard container
Bump scipio version to 0.2.2
2021-01-15 01:22:05 -05:00
2d16ecb86c
Bump scipio version of 0.2.1 2021-01-15 00:59:09 -05:00
2 changed files with 19 additions and 23 deletions

View File

@ -19,6 +19,22 @@ volumes:
services: services:
dashboard:
image: adminer:{{ omni_compose_apps.scipio.versions.dashboard | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-dashboard
networks:
- scipio
ports:
- published: {{ omni_compose_apps.scipio.published.ports.8080 }}
target: 8080
protocol: tcp
mode: ingress
environment:
ADMINER_DESIGN: hydra
ADMINER_DEFAULT_SERVER: scipio-database
deploy:
replicas: 1
database: database:
image: mariadb:{{ omni_compose_apps.scipio.versions.database | default(omni_compose_apps.scipio.versions.default) }} image: mariadb:{{ omni_compose_apps.scipio.versions.database | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-database hostname: scipio-database
@ -35,35 +51,15 @@ 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: database SCIPIO_DB_HOST: scipio-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 }}

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.3 version: 0.2.2
datastore: /appdata/scipio datastore: /appdata/scipio
account: account:
name: mech_scipio name: mech_scipio
@ -101,4 +101,4 @@ omni_compose_apps:
versions: versions:
default: latest default: latest
database: "10" database: "10"
phantom: 0.2.3 phantom: 0.2.2