This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-Portfolio_Website
mirror of
https://github.com/jrtechs/Portfolio_Website.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Updated docker deployment
master
jrtechs
4 days ago
parent
b73831188e
commit
9e75f5b33b
3 changed files
with
19 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
Dockerfile
+12
-0
docker-compose.yml
+5
-0
nginx/default.conf
+ 2
- 1
Dockerfile
View File
@ -3,5 +3,6 @@
FROM
nginx
COPY
./ /usr/share/nginx/html/
COPY
nginx/default.conf /etc/nginx/conf.d/default.conf
EXPOSE
6666
EXPOSE
4001
+ 12
- 0
docker-compose.yml
View File
@ -0,0 +1,12 @@
services:
portfolio:
build
:
.
ports:
-
"4001:4001"
container_name
:
portfolio-website
networks:
-
external-network
networks:
external-network:
external
:
true
+ 5
- 0
nginx/default.conf
View File
@ -0,0 +1,5 @@
server {
listen 4001;
server_name default;
root /usr/share/nginx/html;
}
Write
Preview
Loading…
Cancel
Save