Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-09 03:23:23 +00:00
parent 3b0d2c69df
commit f413fddecc
11 changed files with 279 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
networks:
1panel-network:
external: true
services:
logto:
container_name: logto
entrypoint:
- sh
- -c
- npm run cli db seed -- --swe && npm start
env_file:
- ./envs/global.env
- .env
environment:
- NODE_ENV=production
- PORT=${PANEL_APP_PORT_API}
- ADMIN_PORT=${PANEL_APP_PORT_HTTP}
- TRUST_PROXY_HEADER=true
- CASE_SENSITIVE_USERNAME=true
- DB_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}
image: svhd/logto:1.22.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_API}
- ${PANEL_APP_PORT_HTTP}
restart: always