feat: 脚本调整

This commit is contained in:
caiyuchao
2025-09-26 09:42:59 +08:00
parent 04881a7f67
commit 1ddc416cad
5 changed files with 15 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ services:
agt-mysql:
container_name: agt-mysql
image: mysql:5.7
restart: always
build:
context: ./mysql
ports:
@@ -24,7 +25,8 @@ services:
MYSQL_ROOT_PASSWORD: 123456
agt-redis:
container_name: agt-redis
image: redis
image: redis:7.4.1
restart: always
build:
context: ./redis
ports:
@@ -35,7 +37,8 @@ services:
command: redis-server /home/agt/redis/redis.conf
agt-nginx:
container_name: agt-nginx
image: nginx
image: nginx:1.29.0
restart: always
build:
context: ./nginx
ports:
@@ -47,6 +50,7 @@ services:
- ./nginx/conf.d:/etc/nginx/conf.d
agt-server:
container_name: agt-server
restart: always
build:
context: ./agt
dockerfile: dockerfile