generated from coop-cloud/example
Compare commits
6 Commits
0.1.0+vers
...
0.1.0+1.9.
Author | SHA1 | Date | |
---|---|---|---|
9e4254817a | |||
4d5078c3eb | |||
d0912fac96 | |||
042724259c | |||
b81805de88 | |||
72338da737 |
20
.drone.yml
20
.drone.yml
@ -3,10 +3,12 @@ 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: znc
|
||||
networks:
|
||||
- proxy
|
||||
purge: true
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
@ -19,11 +21,17 @@ trigger:
|
||||
- main
|
||||
---
|
||||
kind: pipeline
|
||||
name: recipe release
|
||||
name: generate recipe catalogue
|
||||
steps:
|
||||
- name: release a new version
|
||||
image: thecoopcloud/drone-abra:latest
|
||||
image: plugins/downstream
|
||||
settings:
|
||||
command: recipe znc release
|
||||
deploy_key:
|
||||
from_secret: abra_bot_deploy_key
|
||||
server: https://build.coopcloud.tech
|
||||
token:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
@ -19,9 +19,9 @@ IRC bouncer • https://github.com/znc/znc
|
||||
2. Deploy [`coop-cloud/traefik`]
|
||||
3. `abra app new znc --secrets` (optionally with `--pass` if you'd like
|
||||
to save secrets in `pass`)
|
||||
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. Open the configured domain in your browser to finish set-up
|
||||
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
|
10
compose.yml
10
compose.yml
@ -4,7 +4,7 @@ services:
|
||||
# Official ZNC image, requires running with --make-config first
|
||||
#image: znc:1.8.2
|
||||
# 3rd-party linuxserver image:
|
||||
image: ghcr.io/linuxserver/znc:1.8.2
|
||||
image: ghcr.io/linuxserver/znc:1.9.1
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
@ -20,9 +20,13 @@ 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}.app.version=version-znc-1.8.2-3c7e3605
|
||||
- "traefik.tcp.routers.${STACK_NAME}_irc.rule=HostSNI(`${DOMAIN}`)"
|
||||
- "traefik.tcp.routers.${STACK_NAME}_irc.tls=true"
|
||||
- "traefik.tcp.routers.${STACK_NAME}_irc.entryPoints=irc"
|
||||
- "traefik.tcp.services.${STACK_NAME}_irc.loadbalancer.server.port=6697"
|
||||
- coop-cloud.${STACK_NAME}.app.version=0.1.0+1.9.1
|
||||
volumes:
|
||||
- "znc_data:/znc-data"
|
||||
- "znc_data:/config"
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user