Compare commits
7 Commits
1f16749935
...
3b9c46a11b
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b9c46a11b | |||
| 7c58a2a358 | |||
| 2ce6c531ee | |||
| cc0cb2911f | |||
| 2335b4980d | |||
| da98a2c5dc | |||
| 5d1db841f0 |
@@ -22,3 +22,13 @@ RUN curl -fsSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tm
|
|||||||
&& unzip -q /tmp/awscliv2.zip -d /tmp \
|
&& unzip -q /tmp/awscliv2.zip -d /tmp \
|
||||||
&& /tmp/aws/install \
|
&& /tmp/aws/install \
|
||||||
&& rm -rf /tmp/aws /tmp/awscliv2.zip
|
&& rm -rf /tmp/aws /tmp/awscliv2.zip
|
||||||
|
|
||||||
|
# Terraform via tfenv — workflows can pin a version with a .terraform-version
|
||||||
|
# file (or TFENV_TERRAFORM_VERSION); the image ships "latest" as the default.
|
||||||
|
ENV TFENV_ROOT=/opt/tfenv
|
||||||
|
ARG TFENV_TERRAFORM_VERSION=latest
|
||||||
|
RUN git clone --depth=1 https://github.com/tfutils/tfenv.git "${TFENV_ROOT}" \
|
||||||
|
&& ln -s "${TFENV_ROOT}/bin/tfenv" /usr/local/bin/tfenv \
|
||||||
|
&& ln -s "${TFENV_ROOT}/bin/terraform" /usr/local/bin/terraform \
|
||||||
|
&& tfenv install "${TFENV_TERRAFORM_VERSION}" \
|
||||||
|
&& tfenv use "${TFENV_TERRAFORM_VERSION}"
|
||||||
|
|||||||
@@ -10,11 +10,8 @@ fulfillr_path: "{{ podman_volumes }}/fulfillr"
|
|||||||
fulfillr_cases_table: "debyltech-cases-prod"
|
fulfillr_cases_table: "debyltech-cases-prod"
|
||||||
fulfillr_tickets_table: "debyltech-tickets-prod"
|
fulfillr_tickets_table: "debyltech-tickets-prod"
|
||||||
# Turso ecommerce store (self-hosted checkout).
|
# Turso ecommerce store (self-hosted checkout).
|
||||||
# PROD store is OFF until cutover (empty URL -> store routes not registered). At
|
# PROD store URL (non-secret); the RW token `fulfillr_prod_store_auth_token` is in the vault.
|
||||||
# cutover set this to libsql://debyltech-store-prod-debyltech.aws-us-east-1.turso.io
|
fulfillr_prod_store_database_url: "libsql://debyltech-store-prod-debyltech.aws-us-east-1.turso.io"
|
||||||
# and add `fulfillr_store_auth_token` (prod RW token) to the vault.
|
|
||||||
fulfillr_store_database_url: ""
|
|
||||||
fulfillr_store_auth_token: ""
|
|
||||||
# Staging back-office (fulfillr-dev.debyltech.com, port 9055) -> staging Turso store.
|
# Staging back-office (fulfillr-dev.debyltech.com, port 9055) -> staging Turso store.
|
||||||
# Its RW token is `fulfillr_dev_store_auth_token` and EasyPost test key is
|
# Its RW token is `fulfillr_dev_store_auth_token` and EasyPost test key is
|
||||||
# `fulfillr_dev_easypost_api_key`, both in the encrypted vault.
|
# `fulfillr_dev_easypost_api_key`, both in the encrypted vault.
|
||||||
|
|||||||
@@ -78,13 +78,13 @@
|
|||||||
|
|
||||||
- import_tasks: containers/debyltech/fulfillr.yml
|
- import_tasks: containers/debyltech/fulfillr.yml
|
||||||
vars:
|
vars:
|
||||||
image: git.debyl.io/debyltech/fulfillr:20260605.2021
|
image: git.debyl.io/debyltech/fulfillr:20260606.2328
|
||||||
tags: debyltech, fulfillr
|
tags: debyltech, fulfillr
|
||||||
|
|
||||||
# Staging back-office (fulfillr-dev.debyltech.com) — same image, staging Turso config.
|
# Staging back-office (fulfillr-dev.debyltech.com) — same image, staging Turso config.
|
||||||
- import_tasks: containers/debyltech/fulfillr-dev.yml
|
- import_tasks: containers/debyltech/fulfillr-dev.yml
|
||||||
vars:
|
vars:
|
||||||
image: git.debyl.io/debyltech/fulfillr:20260606.1727
|
image: git.debyl.io/debyltech/fulfillr:20260606.2328
|
||||||
tags: debyltech, fulfillr-dev
|
tags: debyltech, fulfillr-dev
|
||||||
|
|
||||||
- import_tasks: containers/debyltech/uptime-kuma.yml
|
- import_tasks: containers/debyltech/uptime-kuma.yml
|
||||||
|
|||||||
@@ -1,17 +1,24 @@
|
|||||||
|
{# Production back-office config (fulfillr). Live tier:
|
||||||
|
- ecommerce store -> PROD Turso (fulfillr_prod_store_*)
|
||||||
|
- EasyPost + Stripe -> LIVE keys (fulfillr_prod_easypost_api_key / fulfillr_prod_stripe_api_key)
|
||||||
|
- AWS -> Fulfillr prod key (fulfillr_prod_access_key/secret_key), prod DynamoDB tables +
|
||||||
|
debyltech.digital.prod. snipcart_api_key, fulfillr_region, fulfillr_tax_ein and
|
||||||
|
fulfillr_hmac_arn are shared vars (no dev/prod split). Mirrors dev.json.j2. #}
|
||||||
{
|
{
|
||||||
"snipcart_api_key": "{{ snipcart_api_key }}",
|
"snipcart_api_key": "{{ snipcart_api_key }}",
|
||||||
"easypost_api_key": "{{ easypost_api_key }}",
|
"easypost_api_key": "{{ easypost_api_key }}",
|
||||||
"stripe_api_key": "{{ fulfillr_stripe_api_key }}",
|
"stripe_api_key": "{{ fulfillr_prod_stripe_api_key }}",
|
||||||
"backinstock_table": "{{ fulfillr_backinstock_table }}",
|
"backinstock_table": "debyltech-backinstock-prod",
|
||||||
"cases_table": "{{ fulfillr_cases_table }}",
|
"cases_table": "debyltech-cases-prod",
|
||||||
"tickets_table": "{{ fulfillr_tickets_table }}",
|
"tickets_table": "debyltech-tickets-prod",
|
||||||
"store_database_url": "{{ fulfillr_store_database_url }}",
|
"store_database_url": "{{ fulfillr_prod_store_database_url }}",
|
||||||
"store_auth_token": "{{ fulfillr_store_auth_token }}",
|
"store_auth_token": "{{ fulfillr_prod_store_auth_token }}",
|
||||||
|
"download_base_url": "https://api.debyltech.com",
|
||||||
"aws": {
|
"aws": {
|
||||||
"access_key": "{{ fulfillr_access_key }}",
|
"access_key": "{{ fulfillr_prod_access_key }}",
|
||||||
"secret_key": "{{ fulfillr_secret_key }}",
|
"secret_key": "{{ fulfillr_prod_secret_key }}",
|
||||||
"region": "{{ fulfillr_region }}",
|
"region": "{{ fulfillr_region }}",
|
||||||
"bucket": "{{ fulfillr_bucket }}"
|
"bucket": "debyltech.digital.prod"
|
||||||
},
|
},
|
||||||
"tax": {
|
"tax": {
|
||||||
"ein": "{{ fulfillr_tax_ein }}",
|
"ein": "{{ fulfillr_tax_ein }}",
|
||||||
@@ -39,4 +46,4 @@
|
|||||||
"ses_region": "us-east-1",
|
"ses_region": "us-east-1",
|
||||||
"base_url": "https://debyltech.com"
|
"base_url": "https://debyltech.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user