configs/paivana: add Containerfile and compose on :9025
This commit is contained in:
parent
96961f23f5
commit
7f769aaf8f
8 changed files with 167 additions and 0 deletions
42
configs/paivana/compose.yml
Normal file
42
configs/paivana/compose.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# koopa-paivana — host :9025 → Caddy paivana.hacktivism.ch
|
||||
# Live: /home/hernani/koopa-paivana/
|
||||
services:
|
||||
paivana:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
image: localhost/koopa-paivana:latest
|
||||
container_name: koopa-paivana
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9025:9967"
|
||||
extra_hosts:
|
||||
- "taler.hacktivism.ch:host-gateway"
|
||||
- "bank.hacktivism.ch:host-gateway"
|
||||
- "exchange.hacktivism.ch:host-gateway"
|
||||
volumes:
|
||||
- ./conf/paivana.conf.template:/etc/paivana/paivana.conf.template:ro
|
||||
- ./entrypoint.sh:/usr/local/bin/paivana-entrypoint:ro
|
||||
- ./secrets/merchant-access-token:/run/secrets/merchant-access-token:ro
|
||||
- ./secrets/paivana-secret:/run/secrets/paivana-secret:ro
|
||||
depends_on:
|
||||
- upstream
|
||||
labels:
|
||||
org.hacktivism.service: paivana
|
||||
org.hacktivism.host_port: "9025"
|
||||
org.hacktivism.site: paivana.hacktivism.ch
|
||||
org.hacktivism.managed_by: koopa-admin
|
||||
org.hacktivism.currency: GOA
|
||||
|
||||
upstream:
|
||||
image: docker.io/library/nginx:1.27-alpine
|
||||
container_name: koopa-paivana-upstream
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./upstream:/usr/share/nginx/html:ro
|
||||
expose:
|
||||
- "80"
|
||||
command: ["nginx", "-g", "daemon off;"]
|
||||
labels:
|
||||
org.hacktivism.service: paivana-upstream
|
||||
org.hacktivism.managed_by: koopa-admin
|
||||
Loading…
Add table
Add a link
Reference in a new issue