mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
20 lines
626 B
YAML
20 lines
626 B
YAML
services:
|
|
logto:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: svhd/logto:1.19.0
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:3002
|
|
- ${PANEL_APP_PORT_HTTP_LOGTO}:3001
|
|
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
|
environment:
|
|
- TRUST_PROXY_HEADER=1
|
|
- DB_URL=postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
|
- ENDPOINT=${LOGTO_ENDPOINT_URL}
|
|
- ADMIN_ENDPOINT=${LOGTO_ADMIN_ENDPOINT_URL}
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true |