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