Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周田
vue_django_test
Commits
f300f599
Commit
f300f599
authored
Sep 15, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs:注释
parent
3d50c514
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
docker-compose.yml
docker-compose.yml
+7
-1
No files found.
docker-compose.yml
View file @
f300f599
version
:
'
3'
services
:
device_web_dockerfile
:
# 通过 dockerfile 创建镜像
# build:
# context: .
# dockerfile: Dockerfile
# 如果使用上面的内容下面 image 就不需要了
image
:
device_web_dockerfile_compose
container_name
:
device_web
_dockerfile_compose
container_name
:
device_web
tty
:
true
# 容器的网络模式,如果使用 host 模式,就不需要下面 ports 的内容
# ports 的内容是在默认的网络模式 bridge 的情况下设置的
network_mode
:
host
# ports:
# - "8080:8080"
# 文件映射,会将整个目录全部替换
# volumes:
# - .:/app
environment
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment