Compare commits

...

5 Commits

Author SHA1 Message Date
1cd612a2bd
Add dashboard container
Bump scipio version to 0.2.2
2021-01-15 01:19:37 -05:00
2d16ecb86c
Bump scipio version of 0.2.1 2021-01-15 00:59:09 -05:00
7ac5a81774
Properly assign versions to scipio app services 2021-01-15 00:46:07 -05:00
b07650cc79
Fix repo cloning in docker build process 2021-01-15 00:43:16 -05:00
bc6d971aef
Add ansible config to enable forward agent 2021-01-15 00:35:57 -05:00
4 changed files with 32 additions and 5 deletions

8
ansible.cfg Normal file
View File

@ -0,0 +1,8 @@
[defaults]
host_key_checking = false
[ssh_connection]
ssh_args = "-C -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes"
[inventory]
enable_plugins = yaml

View File

@ -19,8 +19,24 @@ volumes:
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.plex.published.ports.8080 }}
target: 8080
protocol: tcp
mode: ingress
environment:
ADMINER_DESIGN: hydra
ADMINER_DEFAULT_SERVER: scipio-database
deploy:
replicas: 1
database:
image: mariadb:10
image: mariadb:{{ omni_compose_apps.scipio.versions.database | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-database
networks:
- scipio
@ -50,6 +66,6 @@ services:
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

View File

@ -2,9 +2,10 @@
- name: Clone repositories
when: item.value.build is defined
git:
dest: /tmp/{{ item.key }}
repo: "{{ item.value.build.repository }}"
dest: /tmp/{{ item.key }}
version: "{{ item.value.build.version }}"
accept_hostkey: true
loop: "{{ omni_compose_apps | dict2items }}"
loop_control:
label: "{{ item.key }}"

View File

@ -87,7 +87,7 @@ omni_compose_apps:
scipio:
build:
repository: git@github.com:tjyork/Scipio.git
version: 0.2.0
version: 0.2.2
datastore: /appdata/scipio
account:
name: mech_scipio
@ -95,8 +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.2