Compare commits

...

6 Commits

Author SHA1 Message Date
3wc
697fe25259 chore: publish 1.4.0+1.24.0 release 2023-04-27 15:44:50 -04:00
3wc
bad32dd353 chore: publish 1.3.2+1.23.3 release 2023-03-28 11:39:16 -04:00
3wc
f25c45c5c6 Change category to "Development"
[ci skip]
2023-03-28 11:37:29 -04:00
3wc
bb9945b38d Switch to self-hosted stack-ssh-deploy image [mass update] 2023-01-21 11:49:55 -08:00
3wc
c50f5397bf Update abra syntax in examples (finally) [mass update] 2023-01-19 16:02:27 -08:00
3wc
2a3021744d Further Drone fix 2023-01-19 15:53:48 -08:00
3 changed files with 8 additions and 6 deletions

View File

@ -3,7 +3,7 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: custom_html
@ -16,6 +16,8 @@ steps:
DOMAIN: custom-html.swarm-test.autonomic.zone
STACK_NAME: custom_html
LETS_ENCRYPT_ENV: production
NGINX_DEFAULT_CONF_VERSION: v1
ENTRYPOINT_CONF_VERSION: v1
trigger:
branch:
- main

View File

@ -5,7 +5,7 @@
Custom HTML website, served using Nginx.
<!-- metadata -->
* **Category**: Apps
* **Category**: Development
* **Status**: 2, beta
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), 4, upstream
* **Healthcheck**: No
@ -20,9 +20,9 @@ Custom HTML website, served using Nginx.
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new custom-html`
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy`
5. `abra app deploy YOURAPPDOMAIN`
6. Copy your files to the container, using something like
```
abra app YOURAPPDOMAIN cp index.html app:/usr/share/nginx/html

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: nginx:1.23.3
image: nginx:1.24.0
networks:
- proxy
deploy:
@ -19,7 +19,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=1.3.1+1.23.3"
- "coop-cloud.${STACK_NAME}.version=1.4.0+1.24.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/usr/share/nginx/html"
environment: