appstore-1panel/apps/logto/1.20.0/docker-compose.yml
renovate[bot] b92bbb9c97
chore(deps): update svhd/logto docker tag to v1.20.0 (#2122)
* chore(deps): update svhd/logto docker tag to v1.20.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-09-14 11:27:30 +08:00

20 lines
626 B
YAML

services:
logto:
container_name: ${CONTAINER_NAME}
image: svhd/logto:1.20.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