Add minor variablilization for service fefan and bookshelf
This commit is contained in:
@@ -6,6 +6,7 @@ ACT_RUNNER_VERSION=0.2.13
|
||||
ACT_RUNNER_LOCATION=/usr/local/bin
|
||||
ACT_RUNNER_USER=act_runner
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN=<gitea-repository-runner-token>
|
||||
USERNAME=fefan
|
||||
|
||||
# Gitea instance
|
||||
GITEA_INSTANCE_URL=https://gitea.aldon.fr
|
||||
@@ -26,9 +27,6 @@ STRAPI_TRANSFER_TOKEN_SALT=
|
||||
STRAPI_JWT_SECRET=
|
||||
SERVICE_DATABASE_CONTAINER_NAME=fefan-db
|
||||
|
||||
# VM
|
||||
USERNAME=fefan
|
||||
|
||||
# Backup specifics
|
||||
SERVICE_BACKUPS_DIR=/backups/fefan
|
||||
SERVICE_BACKUPS_PREFIX=fefan-dump
|
||||
|
||||
@@ -58,11 +58,11 @@ write_files:
|
||||
permissions: "0644"
|
||||
content: |
|
||||
${act_runner-service}
|
||||
- path: /opt/fefan/install-runner.sh
|
||||
- path: /opt/${hostname}/install-runner.sh
|
||||
permissions: "0755"
|
||||
content: |
|
||||
${act_runner-install-script}
|
||||
- path: /opt/fefan/install-fefan.sh
|
||||
- path: /opt/${hostname}/install-service.sh
|
||||
permissions: "0755"
|
||||
content: |
|
||||
${service-install-script}
|
||||
@@ -77,12 +77,13 @@ runcmd:
|
||||
- systemctl start docker
|
||||
- usermod -aG docker ${hostname}
|
||||
# Act_runner install
|
||||
- /opt/fefan/install-runner.sh
|
||||
- /opt/${hostname}/install-runner.sh
|
||||
- systemctl daemon-reload
|
||||
- systemctl enable act_runner.service
|
||||
- systemctl start act_runner.service
|
||||
# Install fefan
|
||||
- /opt/fefan/install-fefan.sh
|
||||
# ${hostname} install
|
||||
- /opt/${hostname}/install-service.sh
|
||||
|
||||
|
||||
final_message: |
|
||||
Base system ready for ${hostname}
|
||||
Reference in New Issue
Block a user