mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 11:26:13 +08:00
28 lines
688 B
YAML
28 lines
688 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
yourls:
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- "${PANEL_APP_PORT_HTTP}:80"
|
||
|
volumes:
|
||
|
- "./data:/var/www/html"
|
||
|
environment:
|
||
|
- YOURLS_SITE=${YOURLS_EXTERNAL_URL}
|
||
|
- YOURLS_USER=${USERNAME}
|
||
|
- YOURLS_PASS=${PASSWORD}
|
||
|
- YOURLS_DB_HOST=${PANEL_DB_HOST}:${YOURLS_DB_PORT}
|
||
|
- YOURLS_DB_NAME=${PANEL_DB_NAME}
|
||
|
- YOURLS_DB_USER=${PANEL_DB_USER}
|
||
|
- YOURLS_DB_PASS=${PANEL_DB_USER_PASSWORD}
|
||
|
- YOURLS_DB_PREFIX=${PANEL_DB_PREFIX}
|
||
|
image: yourls:1.9.2
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|