1、change compose config

This commit is contained in:
redhat 2025-05-21 17:29:00 +08:00
parent bee4403490
commit 35673e3724

View File

@ -19,9 +19,11 @@ services:
- ./stack/data/redis:/data - ./stack/data/redis:/data
app: app:
build: . image: dkr.zhangshuocauc.cn/library/dash
restart: unless-stopped restart: unless-stopped
hostname: dash hostname: dash
ports:
- "8967:8080"
volumes: volumes:
- ./stack/data/app:/var/www/html:z - ./stack/data/app:/var/www/html:z
environment: environment:
@ -31,7 +33,7 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
env_file: env_file:
- db.env - mysql.env
depends_on: depends_on:
- mysql - mysql
- redis - redis