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: 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: database:
image: mariadb:10 image: mariadb:{{ omni_compose_apps.scipio.versions.database | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-database hostname: scipio-database
networks: networks:
- scipio - scipio
@ -50,6 +66,6 @@ services:
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

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

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.2
datastore: /appdata/scipio datastore: /appdata/scipio
account: account:
name: mech_scipio name: mech_scipio
@ -95,8 +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"
phantom: 0.2.2