2024-10-17 17:52:47 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
pingvin-share:
|
2024-10-19 03:08:25 +08:00
|
|
|
image: stonith404/pingvin-share:v1.2.2
|
2024-10-17 17:52:47 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:3000
|
2024-10-18 16:28:24 +08:00
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
2024-10-17 17:52:47 +08:00
|
|
|
volumes:
|
|
|
|
- ${PINGVIN_SHARE_ROOT_PATH}/data:/opt/app/backend/data
|
|
|
|
- ${PINGVIN_SHARE_ROOT_PATH}/images:/opt/app/frontend/public/img
|
|
|
|
environment:
|
|
|
|
- BACKEND_PORT=8080
|
|
|
|
- PORT=3000
|
|
|
|
- API_URL=http://localhost:8080
|
|
|
|
- TRUST_PROXY=false
|