发布模板应用

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
2024-12-06 11:28:04 +08:00
parent 8014ce984d
commit 080b2b573f
10 changed files with 114 additions and 0 deletions
@@ -0,0 +1,20 @@
networks:
1panel-network:
external: true
services:
app_name:
image: docker/app_name:version
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${BAOTA_ROOT_PATH}/app:/app