Compare commits

..

No commits in common. "27564a35e47de58b720f4d636b1adb8070aff391" and "c986c82aa3b8b7c6c2ddf271873f56502f7d6ff5" have entirely different histories.

12 changed files with 9 additions and 299 deletions

View File

@ -29,12 +29,6 @@
ip: "152.53.36.98"
- name: cal
ip: "152.53.36.98"
- name: phlog
ip: "152.53.36.98"
- name: loclog
ip: "152.53.36.98"
- name: habits
ip: "152.53.36.98"
- name: nerder.land
dns_records:
- name: "forms"

View File

@ -28,23 +28,10 @@ post.thesatelliteoflove.com {
reverse_proxy postiz:5000
}
loclog.thesatelliteoflove.com {
reverse_proxy dawarich_app:3000
}
tasks.thesatelliteoflove.com {
reverse_proxy authentik-server-1:9000
}
phlog.thesatelliteoflove.com {
reverse_proxy ghost-1-ghost-1:2368
}
habits.thesatelliteoflove.com {
reverse_proxy beaverhabits:8080
}
code.thesatelliteoflove.com {
reverse_proxy authentik-server-1:9000
}

View File

@ -11,13 +11,9 @@ services:
- ./site:/srv
- caddy_data:/data
- caddy_config:/config
networks:
default:
ipv4_address: 172.20.0.5
volumes:
caddy_data:
caddy_config:
networks:
default:
external: true

View File

@ -1,19 +0,0 @@
- name: make beaver directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/beaver
- name: Template out the compose file
ansible.builtin.template:
src: beaver-compose.yml.j2
dest: /opt/stacks/beaver/compose.yml
owner: root
mode: 644
- name: deploy beaver stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/beaver
files:
- compose.yml

View File

@ -1,19 +0,0 @@
- name: make dawarich directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/dawarich
- name: Template out the compose file
ansible.builtin.template:
src: dawarich-compose.yml.j2
dest: /opt/stacks/dawarich/compose.yml
owner: root
mode: 644
- name: deploy dawarich stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/dawarich
files:
- compose.yml

View File

@ -1,19 +0,0 @@
- name: make ghost-1 directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/ghost-1
- name: Template out the compose file
ansible.builtin.template:
src: ghost-1-compose.yml.j2
dest: /opt/stacks/ghost-1/compose.yml
owner: root
mode: 644
- name: deploy ghost-1 stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/ghost-1
files:
- compose.yml

View File

@ -86,17 +86,17 @@
# import_tasks: grist.yml
# tags: grist
#- name: Install tasksmd
# import_tasks: tasksmd.yml
# tags: tasksmd
- name: Install tasksmd
import_tasks: tasksmd.yml
tags: tasksmd
- name: Install glance
import_tasks: glance.yml
tags: glance
#- name: Install stirlingpdf
# import_tasks: stirlingpdf.yml
# tags: stirlingpdf
- name: Install stirlingpdf
import_tasks: stirlingpdf.yml
tags: stirlingpdf
- name: Install pingvin
import_tasks: pingvin.yml
@ -137,15 +137,3 @@
- name: Install syncthing
import_tasks: syncthing.yml
tags: syncthing
- name: Install ghost-1
import_tasks: ghost-1.yml
tags: ghost-1
- name: Install dawarich
import_tasks: dawarich.yml
tags: dawarich
- name: Install beaver
import_tasks: beaver.yml
tags: beaver

View File

@ -1,6 +1,6 @@
services:
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
image: ghcr.io/advplyr/audiobookshelf:2.17.5
volumes:
- audiobooks:/audiobooks
- podcasts:/podcasts

View File

@ -1,20 +0,0 @@
services:
beaverhabits:
container_name: beaverhabits
user: 1000:1000
environment:
# See the note below to find all the environment variables
- HABITS_STORAGE=USER_DISK # DATABASE stores in a single SQLite database named habits.db. USER_DISK option saves in a local json file.
- MAX_USER_COUNT=1
volumes:
- ./data:/app/.user/ # Change directory to match your docker file scheme.
restart: unless-stopped
image: daya0576/beaverhabits:latest
volumes:
data:
networks:
default:
external: true
name: lava

View File

@ -1,156 +0,0 @@
services:
dawarich_redis:
image: redis:7.0-alpine
container_name: dawarich_redis
command: redis-server
volumes:
- dawarich_shared:/data
restart: always
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 10s
retries: 5
start_period: 30s
timeout: 10s
dawarich_db:
image: postgres:14.2-alpine
shm_size: 1G
container_name: dawarich_db
volumes:
- dawarich_db_data:/var/lib/postgresql/data
- dawarich_shared:/var/shared
# - ./postgresql.conf:/etc/postgresql/postgresql.conf # Optional, uncomment if you want to use a custom config
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: {{ dawarich_db_password }}
restart: always
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres -d dawarich_development" ]
interval: 10s
retries: 5
start_period: 30s
timeout: 10s
# command: postgres -c config_file=/etc/postgresql/postgresql.conf # Use custom config, uncomment if you want to use a custom config
dawarich_app:
image: freikin/dawarich:latest
container_name: dawarich_app
volumes:
- dawarich_gem_cache_app:/usr/local/bundle/gems
- dawarich_public:/var/app/public
- dawarich_watched:/var/app/tmp/imports/watched
stdin_open: true
tty: true
entrypoint: dev-entrypoint.sh
command: ['bin/dev']
restart: on-failure
environment:
RAILS_ENV: development
REDIS_URL: redis://dawarich_redis:6379/0
DATABASE_HOST: dawarich_db
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: {{ dawarich_db_password }}
DATABASE_NAME: dawarich_development
MIN_MINUTES_SPENT_IN_CITY: 60
APPLICATION_HOST: "loclog.thesatelliteoflove.com"
APPLICATION_HOSTS: "loclog.thesatelliteoflove.com, localhost, 127.0.0.1"
TIME_ZONE: America/Denver
APPLICATION_PROTOCOL: http
DISTANCE_UNIT: mi
PHOTON_API_HOST: photon.komoot.io
PHOTON_API_USE_HTTPS: true
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_HOST: 0.0.0.0
PROMETHEUS_EXPORTER_PORT: 9394
ENABLE_TELEMETRY: false # More on telemetry: https://dawarich.app/docs/tutorials/telemetry
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "5"
healthcheck:
test: [ "CMD-SHELL", "wget -qO - http://127.0.0.1:3000/api/v1/health | grep -q '\"status\"\\s*:\\s*\"ok\"'" ]
interval: 10s
retries: 30
start_period: 30s
timeout: 10s
depends_on:
dawarich_db:
condition: service_healthy
restart: true
dawarich_redis:
condition: service_healthy
restart: true
deploy:
resources:
limits:
cpus: '0.50' # Limit CPU usage to 50% of one core
memory: '2G' # Limit memory usage to 2GB
dawarich_sidekiq:
image: freikin/dawarich:latest
container_name: dawarich_sidekiq
volumes:
- dawarich_gem_cache_sidekiq:/usr/local/bundle/gems
- dawarich_public:/var/app/public
- dawarich_watched:/var/app/tmp/imports/watched
stdin_open: true
tty: true
entrypoint: dev-entrypoint.sh
command: ['sidekiq']
restart: on-failure
environment:
RAILS_ENV: development
REDIS_URL: redis://dawarich_redis:6379/0
DATABASE_HOST: dawarich_db
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: {{ dawarich_db_password }}
DATABASE_NAME: dawarich_development
APPLICATION_HOST: "loclog.thesatelliteoflove.com"
APPLICATION_HOSTS: "loclog.thesatelliteoflove.com, localhost, 127.0.0.1"
BACKGROUND_PROCESSING_CONCURRENCY: 10
APPLICATION_PROTOCOL: http
DISTANCE_UNIT: mi
PHOTON_API_HOST: photon.komoot.io
PHOTON_API_USE_HTTPS: true
PROMETHEUS_EXPORTER_ENABLED: false
PROMETHEUS_EXPORTER_HOST: dawarich_app
PROMETHEUS_EXPORTER_PORT: 9394
ENABLE_TELEMETRY: false # More on telemetry: https://dawarich.app/docs/tutorials/telemetry
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "5"
healthcheck:
test: [ "CMD-SHELL", "bundle exec sidekiqmon processes | grep $${HOSTNAME}" ]
interval: 10s
retries: 30
start_period: 30s
timeout: 10s
depends_on:
dawarich_db:
condition: service_healthy
restart: true
dawarich_redis:
condition: service_healthy
restart: true
dawarich_app:
condition: service_healthy
restart: true
deploy:
resources:
limits:
cpus: '0.50' # Limit CPU usage to 50% of one core
memory: '2G' # Limit memory usage to 2GB
volumes:
dawarich_db_data:
dawarich_gem_cache_app:
dawarich_gem_cache_sidekiq:
dawarich_shared:
dawarich_public:
dawarich_watched:
networks:
default:
external: true
name: lava

View File

@ -1,22 +0,0 @@
services:
ghost:
image: ghost:5-alpine
restart: unless-stopped
environment:
- database__client=sqlite3
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
- database__useNullAsDefault=true
- url=https://phlog.thesatelliteoflove.com
volumes:
- ghost:/var/lib/ghost/content
extra_hosts:
- 'phlog.thesatelliteoflove.com:172.20.0.5'
volumes:
ghost:
driver: local
networks:
default:
external: true
name: lava

View File

@ -1,6 +1,6 @@
services:
pingvin-share:
image: stonith404/pingvin-share:latest
image: stonith404/pingvin-share:v1.7.0
restart: unless-stopped
environment:
- TRUST_PROXY=true