adding an actual deployment template.
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
be68c0d833
commit
3be4ab61fa
|
@ -0,0 +1,34 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
|
default:
|
||||||
|
services:
|
||||||
|
imap-json-fetcher:
|
||||||
|
image: git.nixc.us/colin/imap-json-fetcher:production
|
||||||
|
environment:
|
||||||
|
IMAP_HOST: "your_imap_server_address"
|
||||||
|
IMAP_USERNAME: "your_username"
|
||||||
|
IMAP_PASSWORD: "your_password"
|
||||||
|
# IMAP_FOLDER: "your_folder_name" # Optional, defaults to "INBOX"
|
||||||
|
volumes:
|
||||||
|
- imap-json-fetcher:/
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.mac-rack == true
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
update_config:
|
||||||
|
order: stop-first
|
||||||
|
failure_action: rollback
|
||||||
|
delay: 5s
|
||||||
|
delay: 10s
|
||||||
|
parallelism: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5m
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
imap-json-fetcher:
|
|
@ -0,0 +1,31 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik:
|
||||||
|
external: true
|
||||||
|
default:
|
||||||
|
services:
|
||||||
|
imap-json-fetcher:
|
||||||
|
image: git.nixc.us/colin/imap-json-fetcher:staging
|
||||||
|
environment:
|
||||||
|
IMAP_HOST: "your_imap_server_address"
|
||||||
|
IMAP_USERNAME: "your_username"
|
||||||
|
IMAP_PASSWORD: "your_password"
|
||||||
|
# IMAP_FOLDER: "your_folder_name" # Optional, defaults to "INBOX"
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.mac-rack == true
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
update_config:
|
||||||
|
order: stop-first
|
||||||
|
failure_action: rollback
|
||||||
|
delay: 5s
|
||||||
|
delay: 10s
|
||||||
|
parallelism: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5m
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue