lftaver1.0 add nginx and proxy

This commit is contained in:
reqwizz 2024-11-05 00:14:05 +03:00
parent 2eca300dd0
commit cc7cb56aa3
2 changed files with 17 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
gitea-data gitea-data
jenkins-data jenkins-data
nginx

View File

@ -1,4 +1,19 @@
services: 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: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
container_name: gitea container_name: gitea