PHP Rebuild
CI / ci (push) Canceled after 0s

Initial PHP rebuild of the app
This commit is contained in:
Stefan Lazic committed 2026-09-05 08:21:33 +01:00
1 parent 8a2b211069
commit 2ef3654841
690 files changed
+33944 -12046

No files matched your search

+1
View File
@@ -0,0 +1 @@
ACME_EMAIL="you@example.com"
+5
View File
@@ -0,0 +1,5 @@
{
email {$ACME_EMAIL}
}
import /etc/caddy/sites/*.caddy
+30
View File
@@ -0,0 +1,30 @@
name: nextchair-caddy
services:
nextchair-caddy:
image: caddy:2.10-alpine
container_name: nextchair-caddy
restart: unless-stopped
env_file:
- .env
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./sites:/etc/caddy/sites:ro
- nextchair-caddy-data:/data
- nextchair-caddy-config:/config
networks:
- nextchair-proxy
volumes:
nextchair-caddy-data:
name: nextchair-caddy-data
nextchair-caddy-config:
name: nextchair-caddy-config
networks:
nextchair-proxy:
name: nextchair-proxy
external: true
Whitespace-only changes.
+31
View File
@@ -0,0 +1,31 @@
name: nextchair-infra
services:
nextchair-mysql:
image: mysql:8.0
container_name: nextchair-mysql
restart: unless-stopped
env_file:
- ../../.env.infra
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_0900_ai_ci
ports:
- "${MYSQL_HOST_PORT:-127.0.0.1:3306}:3306"
volumes:
- nextchair-mysql-data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${MYSQL_ROOT_PASSWORD:-change-me-too}"]
interval: 5s
timeout: 5s
retries: 20
start_period: 10s
networks:
- nextchair-db
volumes:
nextchair-mysql-data:
name: nextchair-mysql-data
networks:
nextchair-db:
name: nextchair-db
external: true
@@ -0,0 +1,9 @@
# Manager is separate from every business's customer/staff authentication.
MANAGER_ADMIN_EMAIL="admin@example.com"
MANAGER_ADMIN_PASSWORD="replace-with-a-long-password"
MANAGER_AUTH_SECRET="replace-with-a-long-random-secret"
NEXTCHAIR_STACK_ROOT="/app/stacks"
NEXTCHAIR_CADDY_SITES_DIR="/app/stacks/caddy/sites"
NEXTCHAIR_DOCKGE_URL="http://dockge.example.internal"
NEXT_PUBLIC_DOCKGE_URL="http://dockge.example.internal"
NEXT_PUBLIC_APP_URL="https://manager.example.com"
+24
View File
@@ -0,0 +1,24 @@
name: nextchair-manager
# Platform administration is its own application stack. It shares only the
# private proxy network with Caddy and uses no business database.
services:
nextchair-manager:
image: ${NEXTCHAIR_IMAGE:-nextchair:latest}
container_name: nextchair-manager
restart: unless-stopped
env_file:
- .env
environment:
MANAGER_MODE: "true"
volumes:
- ../:/app/stacks
- ../../.env.infra:/app/.env.infra:ro
networks:
- nextchair-proxy
networks:
nextchair-proxy:
name: nextchair-proxy
external: true