commit
09be05ad8d
2 changed files with 63 additions and 0 deletions
@ -0,0 +1,61 @@
@@ -0,0 +1,61 @@
|
||||
version: "3.5" |
||||
|
||||
networks: |
||||
webNet: |
||||
external: |
||||
name: webNet |
||||
backend: |
||||
internal: true |
||||
|
||||
services: |
||||
mysql_gitea: |
||||
image: mariadb:latest |
||||
container_name: mysql_gitea |
||||
networks: |
||||
- backend |
||||
restart: unless-stopped |
||||
volumes: |
||||
- ./_data_/mysql/config:/etc/mysql/conf.d |
||||
- ./_data_/mysql/db:/var/lib/mysql |
||||
environment: |
||||
MYSQL_USER: gitea |
||||
MYSQL_DATABASE: gitea |
||||
env_file: |
||||
- mysql.env |
||||
|
||||
gitea: |
||||
image: gitea/gitea:latest |
||||
container_name: gitea |
||||
depends_on: |
||||
- mysql_gitea |
||||
networks: |
||||
- webNet |
||||
- backend |
||||
restart: unless-stopped |
||||
volumes: |
||||
- ./_data_/gitea/data:/data |
||||
- ./_data_/gitea/repositories:/data/git/repositories |
||||
- ./_data_/gitea/log:/data/gitea/log |
||||
- ./_data_/gitea/lfs:/data/git/lfs |
||||
- /etc/timezone:/etc/timezone:ro |
||||
- /etc/localtime:/etc/localtime:ro |
||||
ports: |
||||
- "1595:1595" |
||||
environment: |
||||
USER_UID: 975 |
||||
USER_GID: 975 |
||||
APP_NAME: "TITZI's Gitea server: Git with a cup of tea" |
||||
ROOT_URL: 'https://gitea.ckris.de' |
||||
SSH_DOMAIN: 'ckris.de' |
||||
SSH_PORT: 1595 |
||||
DISABLE_REGISTRATION: 'true' |
||||
DB_TYPE: mysql |
||||
DB_HOST: mysql_gitea |
||||
DB_NAME: gitea |
||||
DB_USER: gitea |
||||
VIRTUAL_HOST: gitea.ckris.de,git.ckris.de |
||||
VIRTUAL_PORT: 3000 |
||||
LETSENCRYPT_HOST: gitea.ckris.de,git.ckris.de |
||||
LETSENCRYPT_EMAIL: webmaster@ckris.de |
||||
env_file: |
||||
- gitea.env |
||||
Loading…
Reference in new issue