marlon 87a62a57cc
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
chore: publish 1.10.0+1.28.0 release
2025-05-10 14:49:49 -04:00
2025-01-08 10:09:12 -08:00
2020-10-06 20:48:21 +02:00
2025-04-10 19:06:52 +01:00
2022-03-23 11:57:26 +02:00

Custom HTML

Build Status

Custom HTML website, served using Nginx.

  • Category: Development
  • Status: 2, beta
  • Image: nginx, 4, upstream
  • Healthcheck: No
  • Backups: No
  • Email: N/A
  • Tests: 2
  • SSO: No

Basic usage

  1. Set up Docker Swarm and abra
  2. Deploy coop-cloud/traefik
  3. abra app new custom-html
  4. abra app config YOURAPPDOMAIN - be sure to change $DOMAIN to something that resolves to your Docker swarm box
  5. abra app deploy YOURAPPDOMAIN
  6. Copy your files to the container, using something like
abra app cp YOURAPPDOMAIN index.html app:/usr/share/nginx/html

Allowing upload via SSH/SFTP

To allow management of your site's files using scp, rsync or other SSH-based tools:

  1. If you don't already have one, generate an SSH keypair using ssh-keygen
  2. abra app config YOURAPPDOMAIN
  3. Uncomment these lines and add your public key:
#COMPOSE_FILE="$COMPOSE_FILE:compose.sftp.yml"
#PUBLIC_KEY="ssh-ed25519 AAAAC3NzaJ1lZDI1NTE5AAAAIXqf4nxUxuGmLOaxXXXXXXXXoM/GwhcrAgmtbgXToaYmCJ user@host" # Replace with a public key you generate
  1. abra app undeploy YOURAPPDOMAIN
  2. abra app deploy YOURAPPDOMAIN
  3. Test the SSH connection: ssh -p 2220 sftp@YOURAPPDOMAIN
  4. You can copy local files into the server's web root with a command like: scp -r -P 2220 * sftp@YOURAPPDOMAIN:/content
Description
Custom HTML website, served using Nginx
Readme 107 KiB
Languages
Shell 100%