Compare commits
2 commits
9f0d69821b
...
5991b8cb09
Author | SHA1 | Date | |
---|---|---|---|
5991b8cb09 | |||
99a4705bbe |
2 changed files with 27 additions and 9 deletions
18
.drone.yml
18
.drone.yml
|
@ -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}"'
|
||||
|
|
18
README.md
18
README.md
|
@ -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
|
Loading…
Add table
Reference in a new issue