lftaver1.0 add nginx and proxy
This commit is contained in:
parent
2eca300dd0
commit
cc7cb56aa3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
gitea-data
|
||||
jenkins-data
|
||||
nginx
|
@ -1,4 +1,19 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx
|
||||
volumes:
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
- ./nginx/ssl:/etc/nginx/ssl
|
||||
- ./nginx/html:/usr/share/nginx/html
|
||||
- /coursework/nginx/ssl:/coursework/nginx/ssl
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
depends_on:
|
||||
- gitea
|
||||
restart: always
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
|
Loading…
Reference in New Issue
Block a user