สาขาวิชาวิศวกรรมคอมพิวเตอร์ คณะวิศวกรรมศาสตร์ มหาวิทยาลัยเทคโนโลยีราชมงคลอีสาน
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webclinic
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
applovelypet
webclinic
Merge requests
!21
แก้ไข docker compose แล้ว
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
แก้ไข docker compose แล้ว
pratchayapol.ja/webclinic:main
into
main
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
ปรัชญาพล จำปาลาด
requested to merge
pratchayapol.ja/webclinic:main
into
main
1 year ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
main
version 1
047aeb92
1 year ago
main (base)
and
latest version
latest version
95676b28
2 commits,
1 year ago
version 1
047aeb92
1 commit,
1 year ago
1 file
+
28
−
4
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker-compose.yaml
+
28
−
4
Options
version
:
'
3.9'
name
:
web_clinic
services
:
web
_clinic
:
web
:
restart
:
unless-stopped
build
:
context
:
.
dockerfile
:
./web/Dockerfile
# ระบุ Dockerfile สำหรับคอนเทนเนอร์ web
dockerfile
:
./web/Dockerfile
ports
:
-
"
4000:80"
volumes
:
-
web_data_clinic:/var/www/html
-
./src:/var/www/html
-
./default.conf/default.conf:/etc/nginx/conf.d/default.conf
-
./default.conf/nginx.conf:/etc/nginx/nginx.conf
networks
:
web_clinic_network
:
ipv4_address
:
192.168.40.2
php
_clinic
:
php
:
restart
:
unless-stopped
build
:
context
:
.
dockerfile
:
./php/Dockerfile
# ระบุ Dockerfile สำหรับคอนเทนเนอร์ php
dockerfile
:
./php/Dockerfile
volumes
:
-
./src:/var/www/html
networks
:
web_clinic_network
:
ipv4_address
:
192.168.40.3
networks
:
web_clinic_network
:
driver
:
bridge
ipam
:
config
:
-
subnet
:
192.168.40.0/24
volumes
:
web_data_clinic
:
driver
:
local
driver_opts
:
type
:
'
none'
o
:
'
bind'
device
:
'
/var/www/html'