Skip to content
Snippets Groups Projects
Commit c6091fce authored by aguestuser's avatar aguestuser
Browse files

Merge branch 'hf-cleanup-migration-flow' into 'main'

[hf] cleanup migration flow tooling

See merge request !588
parents 3d9b04b0 7b4662d5
No related tags found
1 merge request!588[hf] cleanup migration flow tooling
No preview for this file type
......@@ -8,6 +8,7 @@
secrets_method: copy
backup_dir: /srv/backups
# docker dependencies (pip packages)
pip_package: python3-pip
pip_install_packages:
- name: docker
- name: docker-compose
......@@ -56,7 +57,6 @@
- lsof
- rsync
- python3
- python3-pip
- python3-setuptools
- emacs-nox
tags: packages
......@@ -221,7 +221,16 @@
line: "/swapfile none swap sw 0 0"
state: present
################
# MISC CLEANUP #
################
# https://github.com/grafana/loki/blob/v1.5.0/docs/clients/docker-driver/README.md
- name: Install Loki docker driver plugin
command: docker plugin install grafana/loki-docker-driver:latest --alias loki --grant-all-permissions
tags: docker
# this is intended to avoid EAI_AGAIN errors on node install attempts
# in deploy step that can usually be fixed manually by restarting docker (which we here attempt to automate)
- name: Restart docker
command: systemctl restart docker
\ No newline at end of file
......@@ -5,6 +5,8 @@ set -euo pipefail
# throat-clearing #
###################
export NODE_ENV=production
project_root="/srv/signalboost"
docker_compose="docker-compose --env-file .env -f ${project_root}/docker-compose.yml"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment