21 lines
758 B
YAML
21 lines
758 B
YAML
services:
|
|
shopify:
|
|
restart: unless-stopped
|
|
image: cerc/laconic-shopify:local
|
|
command: ["bash", "-c", "./start-faucet.sh"]
|
|
environment:
|
|
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
|
|
CERC_SHOPIFY_GRAPHQL_URL: ${CERC_SHOPIFY_GRAPHQL_URL}
|
|
CERC_SHOPIFY_ACCESS_TOKEN: ${CERC_SHOPIFY_ACCESS_TOKEN}
|
|
CERC_FETCH_ORDER_DELAY: ${CERC_FETCH_ORDER_DELAY:-10000}
|
|
CERC_FAUCET_URL: ${CERC_FAUCET_URL}
|
|
CERC_ITEMS_PER_ORDER: ${CERC_ITEMS_PER_ORDER:-10}
|
|
volumes:
|
|
- shopify-data:/app/data
|
|
- ../config/shopify/start-shopify.sh:/app/start-faucet.sh
|
|
- ../config/shopify/product_pricings.json:/app/config/product_pricings.json
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
volumes:
|
|
shopify-data: |