removed ports from docker compose now its handeld by the proxy manager

This commit is contained in:
root 2024-05-23 09:49:33 +02:00
parent 88cfd8f663
commit 7f8c59b81b
3 changed files with 4 additions and 22 deletions

View File

@ -1,4 +1,4 @@
APP_NAME = Gitea: Git with a cup of tea APP_NAME = Personal Git
RUN_MODE = prod RUN_MODE = prod
RUN_USER = git RUN_USER = git
WORK_PATH = /data/gitea WORK_PATH = /data/gitea
@ -14,10 +14,10 @@ TEMP_PATH = /data/gitea/uploads
[server] [server]
APP_DATA_PATH = /data/gitea APP_DATA_PATH = /data/gitea
DOMAIN = 173.249.55.18 DOMAIN = lorenzzz.dev
SSH_DOMAIN = 173.249.55.18 SSH_DOMAIN = 173.249.55.18
HTTP_PORT = 3000 HTTP_PORT = 3000
ROOT_URL = http://173.249.55.18:3000/ ROOT_URL = http://lorenzzz.dev:3000/
DISABLE_SSH = false DISABLE_SSH = false
SSH_PORT = 22 SSH_PORT = 22
SSH_LISTEN_PORT = 22 SSH_LISTEN_PORT = 22

View File

@ -1,15 +0,0 @@
{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
<div class="gt-mb-5 gt-px-5">
<div class="center">
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
<div class="hero">
<h1 class="ui icon header title">
{{AppName}}
</h1>
<h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
</div>
</div>
</div>
</div>
{{template "base/footer" .}}

View File

@ -25,12 +25,8 @@ services:
- ./gitea:/data - ./gitea:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on: depends_on:
- db - db
db: db:
image: postgres:14 image: postgres:14
restart: always restart: always
@ -40,5 +36,6 @@ services:
- POSTGRES_DB=gitea - POSTGRES_DB=gitea
networks: networks:
- gitea - gitea
- proxy-manager_default
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - ./postgres:/var/lib/postgresql/data