summaryrefslogtreecommitdiff
path: root/deploy
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/inventory.yml17
-rw-r--r--deploy/playbook.yml29
2 files changed, 0 insertions, 46 deletions
diff --git a/deploy/inventory.yml b/deploy/inventory.yml
deleted file mode 100644
index dde952e..0000000
--- a/deploy/inventory.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-all:
- children:
- prod:
- hosts:
- node_prod:
- ansible_host: pl.saya.today
- saya_today_web_name: sayana-web
- saya_today_web_hostname: sayana-web
- saya_today_web_ipv4_address: 172.16.0.18
-
- stage:
- hosts:
- node_stage:
- ansible_host: pl.saya.today
- saya_today_web_name: sayana-demo
- saya_today_web_hostname: sayana-demo
- saya_today_web_ipv4_address: 172.16.0.17
diff --git a/deploy/playbook.yml b/deploy/playbook.yml
deleted file mode 100644
index dfceaf7..0000000
--- a/deploy/playbook.yml
+++ /dev/null
@@ -1,29 +0,0 @@
----
-- name: Deploy saya-today-web Docker Container
- hosts: all
- remote_user: svc_github
-
- tasks:
- - name: Create a volume
- community.docker.docker_volume:
- name: "{{ saya_today_web_name }}-volume"
-
- - name: Deploy saya-today-web Docker Container
- community.docker.docker_container:
- name: "{{ saya_today_web_name }}"
- hostname: "{{ saya_today_web_hostname }}"
- image: "ghcr.io/sayaandy/saya-today-web:{{ saya_today_web_tag }}"
- env:
- B2_KEY_ID: "{{ saya_today_web_b2_key_id }}"
- B2_APPLICATION_KEY: "{{ saya_today_web_b2_application_key }}"
- ENVIRONMENT: "{{ saya_today_web_environment }}"
- AUTH_SALT: "{{ saya_today_web_auth_salt }}"
- network_mode: caddy
- networks:
- - name: caddy
- ipv4_address: "{{ saya_today_web_ipv4_address }}"
- volumes:
- - "{{ saya_today_web_name }}-volume:/data:rw"
- restart_policy: unless-stopped
- no_log: true
-...