Compare commits
4 Commits
e333809b4a
...
7ed9f5c2a0
Author | SHA1 | Date | |
---|---|---|---|
7ed9f5c2a0 | |||
39603cbb9b | |||
6c2301d7cc | |||
ab52415f54 |
@ -23,7 +23,7 @@
|
|||||||
- name: Configure Nginx
|
- name: Configure Nginx
|
||||||
hosts: jupiter
|
hosts: jupiter
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/applications.yml
|
- vars/applications.yaml
|
||||||
vars:
|
vars:
|
||||||
_letsencrypt_cert_dir: /etc/letsencrypt/live
|
_letsencrypt_cert_dir: /etc/letsencrypt/live
|
||||||
handlers:
|
handlers:
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
prompt: Enter name of application stack to deploy
|
prompt: Enter name of application stack to deploy
|
||||||
private: false
|
private: false
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/applications.yml
|
- vars/applications.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Validate user input
|
- name: Validate user input
|
||||||
assert:
|
assert:
|
||||||
@ -26,7 +26,7 @@
|
|||||||
- name: Build image
|
- name: Build image
|
||||||
hosts: virtualization
|
hosts: virtualization
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/applications.yml
|
- vars/applications.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/docker/build.yml
|
- import_tasks: tasks/docker/build.yml
|
||||||
|
|
||||||
@ -34,8 +34,8 @@
|
|||||||
- name: Configure datastore
|
- name: Configure datastore
|
||||||
hosts: jupiter
|
hosts: jupiter
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/applications.yml
|
- vars/applications.yaml
|
||||||
- vars/secrets/applications.yml
|
- vars/secrets/applications.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create application datastore directory
|
- name: Create application datastore directory
|
||||||
become: true
|
become: true
|
||||||
@ -50,8 +50,8 @@
|
|||||||
- name: Configure docker stack
|
- name: Configure docker stack
|
||||||
hosts: jupiter
|
hosts: jupiter
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/applications.yml
|
- vars/applications.yaml
|
||||||
- vars/secrets/applications.yml
|
- vars/secrets/applications.yaml
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create compose configuration directory
|
- name: Create compose configuration directory
|
||||||
become: true
|
become: true
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
version: "{{ omni_compose_version | string }}"
|
version: "{{ omni_compose_version | string }}"
|
||||||
|
|
||||||
|
|
||||||
|
x-global-env: &globalenv
|
||||||
|
SCIPIO_DB_BACKEND: MARIA
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
scipio:
|
scipio:
|
||||||
name: scipio
|
name: scipio
|
||||||
@ -24,6 +33,11 @@ services:
|
|||||||
hostname: scipio-database
|
hostname: scipio-database
|
||||||
networks:
|
networks:
|
||||||
- scipio
|
- scipio
|
||||||
|
ports:
|
||||||
|
- published: {{ omni_compose_apps.scipio.published.ports.3306 }}
|
||||||
|
target: 3306
|
||||||
|
protocol: tcp
|
||||||
|
mode: ingress
|
||||||
volumes:
|
volumes:
|
||||||
- type: volume
|
- type: volume
|
||||||
source: scipio
|
source: scipio
|
||||||
@ -61,15 +75,41 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- scipio
|
- scipio
|
||||||
environment:
|
environment:
|
||||||
SCIPIO_INTERVAL: "30"
|
<<: *globalenv
|
||||||
SCIPIO_DB_BACKEND: MARIA
|
SCIPIO_INTERVAL: "10"
|
||||||
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_FEED: https://blog.tipranks.com/feed/
|
||||||
SCIPIO_PHANTOM_HANDLER: tipranks
|
SCIPIO_PHANTOM_HANDLER: tipranks
|
||||||
command: --phantom -vv
|
command: --phantom
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
executor:
|
||||||
|
image: scipio:{{ omni_compose_apps.scipio.versions.executor | default(omni_compose_apps.scipio.versions.default) }}
|
||||||
|
hostname: scipio-executor
|
||||||
|
depends_on:
|
||||||
|
- database
|
||||||
|
- phantom
|
||||||
|
networks:
|
||||||
|
- scipio
|
||||||
|
environment:
|
||||||
|
<<: *globalenv
|
||||||
|
SCIPIO_INTERVAL: "5"
|
||||||
|
SCIPIO_EXECUTOR_HANDLER: hologram
|
||||||
|
command: --executor
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
|
||||||
|
falcon:
|
||||||
|
image: scipio:{{ omni_compose_apps.scipio.versions.falcon | default(omni_compose_apps.scipio.versions.default) }}
|
||||||
|
hostname: scipio-falcon
|
||||||
|
depends_on:
|
||||||
|
- database
|
||||||
|
- executor
|
||||||
|
networks:
|
||||||
|
- scipio
|
||||||
|
environment:
|
||||||
|
<<: *globalenv
|
||||||
|
SCIPIO_INTERVAL: "60"
|
||||||
|
command: --falcon
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
omni_compose_version: 3.7
|
omni_compose_version: 3.7
|
||||||
|
|
||||||
omni_compose_apps:
|
omni_compose_apps:
|
||||||
|
|
||||||
bitwarden:
|
bitwarden:
|
||||||
datastore: /appdata/bitwarden
|
datastore: /appdata/bitwarden
|
||||||
account:
|
account:
|
||||||
@ -19,6 +20,7 @@ omni_compose_apps:
|
|||||||
default: 1.36.1
|
default: 1.36.1
|
||||||
web: 2.15.1
|
web: 2.15.1
|
||||||
attachments: 1.34.0
|
attachments: 1.34.0
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
datastore: /appdata/gitea
|
datastore: /appdata/gitea
|
||||||
account:
|
account:
|
||||||
@ -33,6 +35,7 @@ omni_compose_apps:
|
|||||||
main: 192.168.103.0/24
|
main: 192.168.103.0/24
|
||||||
versions:
|
versions:
|
||||||
default: 1.11.5
|
default: 1.11.5
|
||||||
|
|
||||||
minecraft:
|
minecraft:
|
||||||
datastore: /appdata/minecraft
|
datastore: /appdata/minecraft
|
||||||
account:
|
account:
|
||||||
@ -46,6 +49,7 @@ omni_compose_apps:
|
|||||||
versions:
|
versions:
|
||||||
main: latest
|
main: latest
|
||||||
server: 1.15.2
|
server: 1.15.2
|
||||||
|
|
||||||
plex:
|
plex:
|
||||||
datastore: /appdata/plex
|
datastore: /appdata/plex
|
||||||
account:
|
account:
|
||||||
@ -66,6 +70,7 @@ omni_compose_apps:
|
|||||||
main: 192.168.101.0/24
|
main: 192.168.101.0/24
|
||||||
versions:
|
versions:
|
||||||
default: latest
|
default: latest
|
||||||
|
|
||||||
unifi:
|
unifi:
|
||||||
datastore: /appdata/unifi
|
datastore: /appdata/unifi
|
||||||
account:
|
account:
|
||||||
@ -84,10 +89,11 @@ omni_compose_apps:
|
|||||||
main: 192.168.100.0/24
|
main: 192.168.100.0/24
|
||||||
versions:
|
versions:
|
||||||
default: "5.12"
|
default: "5.12"
|
||||||
|
|
||||||
scipio:
|
scipio:
|
||||||
build:
|
build:
|
||||||
repository: git@github.com:tjyork/Scipio.git
|
repository: git@github.com:tjyork/Scipio.git
|
||||||
version: 0.2.3
|
version: 0.5.2
|
||||||
datastore: /appdata/scipio
|
datastore: /appdata/scipio
|
||||||
account:
|
account:
|
||||||
name: mech_scipio
|
name: mech_scipio
|
||||||
@ -96,9 +102,10 @@ omni_compose_apps:
|
|||||||
host: scipio.net.enp.one
|
host: scipio.net.enp.one
|
||||||
ports:
|
ports:
|
||||||
8080: 8081
|
8080: 8081
|
||||||
|
3306: 33306
|
||||||
networks:
|
networks:
|
||||||
main: 192.168.106.0/24
|
main: 192.168.106.0/24
|
||||||
versions:
|
versions:
|
||||||
default: latest
|
default: 0.5.2
|
||||||
database: "10"
|
database: "10"
|
||||||
phantom: 0.2.3
|
dashboard: latest
|
@ -1 +1 @@
|
|||||||
Subproject commit 13a35d8e308ef8053b3d3031371e389f9e440a14
|
Subproject commit a6d05271693459972cc749ab6024d797b9904ee1
|
Reference in New Issue
Block a user