Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #300命名与官方镜像名称冲突 #301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version : '3'

services:
mysql:
campus-mysql:
image: mysql:5.7
container_name: mysql
container_name: campus-mysql
environment:
# root 密码
MYSQL_ROOT_PASSWORD: 123456789
Expand All @@ -27,9 +27,9 @@ services:
privileged: true
network_mode: "host"

redis:
campus-redis:
image: redis:6.2.12
container_name: redis
container_name: campus-redis
volumes:
# 配置文件
- /docker/redis/conf:/redis/config
Expand All @@ -40,9 +40,9 @@ services:
network_mode: "host"


nginx-web:
campus-nginx:
image: nginx:1.23.4
container_name: nginx-web
container_name: campus-nginx
environment:
# 时区上海
TZ: Asia/Shanghai
Expand Down