Add sync service and fix tarball detection for taler-exchange/merchant
This commit is contained in:
parent
9543a56982
commit
2121a7763a
5 changed files with 97 additions and 5 deletions
21
compose.yml
21
compose.yml
|
|
@ -93,9 +93,27 @@ services:
|
|||
ports:
|
||||
- "8080:8080"
|
||||
|
||||
sync:
|
||||
image: taler-stack:build
|
||||
entrypoint: ["/usr/local/bin/with-dbinit.sh"]
|
||||
command: ["taler-sync-httpd", "-c", "/etc/taler-sync/taler-sync.conf"]
|
||||
environment:
|
||||
DB_NAME: ${TALER_SYNC_DB:-talersync}
|
||||
INIT_CMD: taler-sync-dbinit -c /etc/taler-sync/taler-sync.conf
|
||||
PGHOST: ${POSTGRES_HOST:-postgres}
|
||||
PGUSER: ${POSTGRES_ADMIN_USER:-postgres}
|
||||
PGPASSWORD: ${POSTGRES_PASSWORD:-taler}
|
||||
SYNC_BASE_URL: ${SYNC_BASE_URL:-https://sync.domain.tld/}
|
||||
SYNC_HOST: ${SYNC_HOST:-sync.domain.tld}
|
||||
depends_on: [postgres]
|
||||
volumes:
|
||||
- ./sync/conf:/etc/taler-sync
|
||||
ports:
|
||||
- "8087:8087"
|
||||
|
||||
caddy:
|
||||
image: caddy:2
|
||||
depends_on: [exchange, merchant, bank]
|
||||
depends_on: [exchange, merchant, bank, sync]
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
|
@ -108,6 +126,7 @@ services:
|
|||
BANK_HOST: ${BANK_HOST:-ob.antifa.ltd}
|
||||
EXCHANGE_HOST: ${EXCHANGE_HOST:-exchange.antifa.ltd}
|
||||
MERCHANT_HOST: ${MERCHANT_HOST:-merchant.antifa.ltd}
|
||||
SYNC_HOST: ${SYNC_HOST:-sync.domain.tld}
|
||||
WORDPRESS_HOST: ${WORDPRESS_HOST:-wordpress.domain.tld}
|
||||
|
||||
mariadb:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue