Compare commits

...

2 commits

Author SHA1 Message Date
Glenn Y. Rolland 5991b8cb09 doc: Add README
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-24 14:08:19 +01:00
Glenn Y. Rolland 99a4705bbe ci: Fix container name in .drone.yml 2023-01-24 14:07:37 +01:00
2 changed files with 27 additions and 9 deletions

View file

@ -9,7 +9,7 @@ steps:
environment:
commands:
- 'echo "Repository: glenux/service-n8n"'
- 'echo "Repository: glenux/service-semaphore"'
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'
- name: publish:commit_sha
@ -19,14 +19,14 @@ steps:
# - name: cache
# path: /stupid
environment:
DOCKER_REPO: glenux/service-n8n
DOCKER_REPO: glenux/service-semaphore
settings:
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
tags: "${DRONE_COMMIT_SHA:0:8}"
purge: false
@ -40,8 +40,8 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
tags: "latest_${DRONE_BRANCH/\\//-}"
purge: false
when:
@ -57,8 +57,8 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-n8n:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-n8n
cache_from: "glenux/service-semaphore:latest_${DRONE_BRANCH/\\//-}"
repo: glenux/service-semaphore
tags: latest
purge: false
when:
@ -80,5 +80,5 @@ steps:
environment:
commands:
- 'echo "Repository: glenux/service-n8n"'
- 'echo "Repository: glenux/service-semaphore"'
- 'echo "Git commit: ${DRONE_COMMIT_SHA:0:8}"'

View file

@ -0,0 +1,18 @@
# Dokku setup
Create app
ssh dokku@danaos.infra.glenux.net apps:create socialweb
Configure proxy
dokku config:set $app --no-restart
Configure apps
Configure letsencrypt
Restart
dokku ps:restart