Use an env file (experimental)

This commit is contained in:
Luke Murphy 2020-04-30 14:24:23 +02:00
parent c676b1dd40
commit 42010eee3c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 8 additions and 10 deletions

View File

@ -16,16 +16,6 @@ name: swarm.autonomic.zone
steps:
- name: swarm.autonomic.zone
image: decentral1se/drone-stack:19.03.8-override-compose
settings:
host: tcp://swarm.autonomic.zone:2376
compose: docker-compose.yml
override_compose: docker-compose.production.yml
stack_name: traefik
tlsverify: true
secrets:
- docker_cacert
- docker_cert
- docker_key
trigger:
branch:
- master

8
.env Normal file
View File

@ -0,0 +1,8 @@
DOCKER_CACERT=$docker_cacert
DOCKER_CERT=$docker_cert
DOCKER_KEY=$docker_key
PLUGIN_COMPOSE=docker-compose.yml
PLUGIN_HOST=tcp://swarm.autonomic.zone:2376
PLUGIN_OVERRIDE_COMPOSE=docker-compose.production.yml
PLUGIN_STACK_NAME=traefik
PLUGIN_TLSVERIFY=true