Add e-invoice for asu.
This commit is contained in:
68
erechnung-asu/.env
Normal file
68
erechnung-asu/.env
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
APP_NAME=eRechnung
|
||||||
|
APP_ENV=local
|
||||||
|
APP_KEY=base64:qSmM2c7YWgiFKS62S2m6w8pVslaBC8WBIHttObhDu1U=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_TIMEZONE=UTC
|
||||||
|
APP_URL=https://e-rechnung.arbeitsschutz-ulm.de
|
||||||
|
|
||||||
|
APP_LOCALE=de
|
||||||
|
APP_CURRENCY=EUR
|
||||||
|
APP_FALLBACK_LOCALE=en
|
||||||
|
APP_FAKER_LOCALE=en_US
|
||||||
|
|
||||||
|
APP_MAINTENANCE_DRIVER=file
|
||||||
|
# APP_MAINTENANCE_STORE=database
|
||||||
|
|
||||||
|
PHP_CLI_SERVER_WORKERS=4
|
||||||
|
|
||||||
|
BCRYPT_ROUNDS=12
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
LOG_STACK=single
|
||||||
|
LOG_DEPRECATIONS_CHANNEL=null
|
||||||
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
|
DB_CONNECTION=pgsql
|
||||||
|
DB_HOST=pgsql
|
||||||
|
DB_PORT=5432
|
||||||
|
DB_DATABASE=laravel
|
||||||
|
DB_USERNAME=asu
|
||||||
|
DB_PASSWORD=h8d57T^aFfTk@X
|
||||||
|
|
||||||
|
SESSION_DRIVER=database
|
||||||
|
SESSION_LIFETIME=120
|
||||||
|
SESSION_ENCRYPT=false
|
||||||
|
SESSION_PATH=/
|
||||||
|
SESSION_DOMAIN=null
|
||||||
|
|
||||||
|
BROADCAST_CONNECTION=log
|
||||||
|
FILESYSTEM_DISK=local
|
||||||
|
QUEUE_CONNECTION=database
|
||||||
|
|
||||||
|
CACHE_STORE=database
|
||||||
|
CACHE_PREFIX=
|
||||||
|
|
||||||
|
MEMCACHED_HOST=127.0.0.1
|
||||||
|
|
||||||
|
REDIS_CLIENT=phpredis
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_MAILER=smtp
|
||||||
|
MAIL_HOST=mail
|
||||||
|
MAIL_PORT=1025
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS="hello@example.com"
|
||||||
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
|
AWS_DEFAULT_REGION=us-east-1
|
||||||
|
AWS_BUCKET=
|
||||||
|
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||||
|
|
||||||
|
VITE_APP_NAME="${APP_NAME}"
|
||||||
|
VITE_APP_URL="${APP_URL}/api"
|
||||||
53
erechnung-asu/docker-compose.yaml
Normal file
53
erechnung-asu/docker-compose.yaml
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
invoice-asu:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
invoice-asu-db:
|
||||||
|
invoice-asu-storage:
|
||||||
|
name: invoice-asu-storage
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: cs-git.ddnss.de/ri-st/project:latest
|
||||||
|
restart: always
|
||||||
|
links:
|
||||||
|
- pgsql
|
||||||
|
depends_on:
|
||||||
|
pgsql:
|
||||||
|
condition: service_healthy
|
||||||
|
working_dir: /var/www
|
||||||
|
volumes:
|
||||||
|
- ./.env:/var/www/.env
|
||||||
|
- invoice-asu-storage:/var/www/storage/app/public
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
- invoice-asu
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.invoice-asu.rule=Host(`e-rechnung.arbeitsschutz-ulm.de`)"
|
||||||
|
- "traefik.http.routers.invoice-asu.entrypoints=web"
|
||||||
|
- "traefik.http.routers.invoice-asu.middlewares=invoice-asu"
|
||||||
|
- "traefik.http.middlewares.invoice-asu.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.routers.invoice-asu-secure.rule=Host(`e-rechnung-kaffee.de`)"
|
||||||
|
- "traefik.http.routers.invoice-asu-secure.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.invoice-asu-secure.tls=true"
|
||||||
|
- "traefik.http.routers.invoice-asu-secure.tls.certresolver=cs"
|
||||||
|
- "traefik.http.routers.invoice-asu-secure.service=invoice-asu-secure"
|
||||||
|
- "traefik.http.services.invoice-asu-secure.loadbalancer.server.port=80"
|
||||||
|
|
||||||
|
pgsql:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- invoice-asu-db:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- invoice-asu
|
||||||
|
environment:
|
||||||
|
PGPASSWORD: h8d57T^aFfTk@X
|
||||||
|
POSTGRES_PASSWORD: h8d57T^aFfTk@X
|
||||||
|
POSTGRES_USER: asu
|
||||||
|
POSTGRES_DB: laravel
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U $DB_USER"]
|
||||||
Reference in New Issue
Block a user