mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
- Added the `simplesoftwareio/simple-qrcode` package to the project - Created a new JavaScript file `nostrZap.js` to handle Nostr events - Added the `nostrZap` function to the Alpine.js data property in `app.js` - Updated the `services.php` configuration file to include the `nostr` environment variable - Created a new database migration to add a `payment_event` field to the `einundzwanzig_plebs` table - Made adjustments in the `Election:year.blade.php` view file to handle potential null values - Updated `composer.lock` and `package.json` with the new dependencies
86 lines
2.4 KiB
YAML
86 lines
2.4 KiB
YAML
services:
|
|
laravel.test:
|
|
build:
|
|
context: ./docker/8.3
|
|
dockerfile: Dockerfile
|
|
args:
|
|
WWWGROUP: '${WWWGROUP}'
|
|
image: sail-8.3/app
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
ports:
|
|
- '${APP_PORT:-80}:80'
|
|
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
|
|
- '${REVERB_SERVER_PORT:-8080}:8080'
|
|
environment:
|
|
WWWUSER: '${WWWUSER}'
|
|
LARAVEL_SAIL: 1
|
|
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
|
|
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
|
|
IGNITION_LOCAL_SITES_PATH: '${PWD}'
|
|
volumes:
|
|
- '.:/var/www/html'
|
|
networks:
|
|
- sail
|
|
depends_on:
|
|
- pgsql
|
|
- redis
|
|
pgsql:
|
|
image: 'postgres:15'
|
|
ports:
|
|
- '${FORWARD_DB_PORT:-5432}:5432'
|
|
environment:
|
|
PGPASSWORD: '${DB_PASSWORD:-secret}'
|
|
POSTGRES_DB: '${DB_DATABASE}'
|
|
POSTGRES_USER: '${DB_USERNAME}'
|
|
POSTGRES_PASSWORD: '${DB_PASSWORD:-secret}'
|
|
volumes:
|
|
- 'sail-pgsql:/var/lib/postgresql/data'
|
|
- './docker/pgsql/create-testing-database.sql:/docker-entrypoint-initdb.d/10-create-testing-database.sql'
|
|
networks:
|
|
- sail
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- pg_isready
|
|
- '-q'
|
|
- '-d'
|
|
- '${DB_DATABASE}'
|
|
- '-U'
|
|
- '${DB_USERNAME}'
|
|
retries: 3
|
|
timeout: 5s
|
|
redis:
|
|
image: 'redis:alpine'
|
|
ports:
|
|
- '${FORWARD_REDIS_PORT:-6379}:6379'
|
|
volumes:
|
|
- 'sail-redis:/data'
|
|
networks:
|
|
- sail
|
|
healthcheck:
|
|
test:
|
|
- CMD
|
|
- redis-cli
|
|
- ping
|
|
retries: 3
|
|
timeout: 5s
|
|
relay:
|
|
ports:
|
|
- "7000:7000"
|
|
volumes:
|
|
- ./relay:/usr/src/app/db
|
|
- ./relay/config.toml:/usr/src/app/config.toml
|
|
image: scsibug/nostr-rs-relay:latest
|
|
user: "${DOCKER_UID:-1000}:${DOCKER_GID:-1000}"
|
|
networks:
|
|
- sail
|
|
networks:
|
|
sail:
|
|
driver: bridge
|
|
volumes:
|
|
sail-pgsql:
|
|
driver: local
|
|
sail-redis:
|
|
driver: local
|