+34
-4
@@ -51,16 +51,46 @@
|
|||||||
username: {
|
username: {
|
||||||
from_secret: "deploy_username",
|
from_secret: "deploy_username",
|
||||||
},
|
},
|
||||||
password: {
|
key: {
|
||||||
from_secret: "deploy_password",
|
from_secret: "deploy_key",
|
||||||
},
|
},
|
||||||
port: 42022,
|
port: 42022,
|
||||||
},
|
},
|
||||||
depends_on: [
|
depends_on: [
|
||||||
'frontend'
|
'frontend-builder'
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
{
|
||||||
|
name: 'deploy-docker',
|
||||||
|
image_: 'robkaandorp/drone-portainer',
|
||||||
|
image__: 'gstolarz/drone-portainer',
|
||||||
|
image: 'gitea.pb42.de/matthias/drone-portainer',
|
||||||
|
settings: {
|
||||||
|
portainer: 'https://portainer.pb42.de',
|
||||||
|
uri: 'https://portainer.pb42.de',
|
||||||
|
portainer_url: 'https://portainer.pb42.de',
|
||||||
|
username: { from_secret: 'portainer_username' },
|
||||||
|
password: { from_secret: 'portainer_password' },
|
||||||
|
portainer_username: { from_secret: 'portainer_username' },
|
||||||
|
portainer_password: { from_secret: 'portainer_password' },
|
||||||
|
portainer_apikey: { from_secret: 'portainer_api_key' },
|
||||||
|
registry: 'gitea.pb42.de',
|
||||||
|
endpoint: 'local',
|
||||||
|
stack_name: 'reflex-ipad',
|
||||||
|
stack: 'reflex-ipad',
|
||||||
|
file: 'docker-compose.yml',
|
||||||
|
standalone: true,
|
||||||
|
swarmId: "",
|
||||||
|
type: 2,
|
||||||
|
environment: [],
|
||||||
|
env: [],
|
||||||
|
debug: true,
|
||||||
|
},
|
||||||
|
depends_on: [
|
||||||
|
'backend',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
trigger: { event: ['push'] },
|
trigger: { event: ['push'] },
|
||||||
image_pull_secrets: ['dockerconfigjson'],
|
image_pull_secrets: ['dockerconfigjson'],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,4 +3,6 @@
|
|||||||
.web
|
.web
|
||||||
__pycache__/
|
__pycache__/
|
||||||
venv
|
venv
|
||||||
|
deploy/key
|
||||||
|
deploy/key.pub
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user