2022-10-28 16:56:26 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
#gitea (222)
|
|
|
|
gitea:
|
|
|
|
image: gitea/gitea:latest
|
|
|
|
container_name: gitea
|
2022-10-31 21:39:29 +00:00
|
|
|
volumes:
|
|
|
|
- ./gitea:/data
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
networks:
|
|
|
|
- development
|
|
|
|
ports:
|
|
|
|
- "222:22"
|
|
|
|
depends_on:
|
|
|
|
- traefik
|
2022-10-28 16:56:26 +00:00
|
|
|
environment:
|
|
|
|
- APP_NAME="gitea"
|
|
|
|
- USER_UID=1000
|
|
|
|
- USER_GID=1000
|
|
|
|
- USER=git
|
|
|
|
- RUN_MODE=prod
|
|
|
|
- DOMAIN=git.luke-else.co.uk
|
|
|
|
- SSH_DOMAIN=git.luke-else.co.uk
|
|
|
|
- HTTP_PORT=3000
|
|
|
|
- ROOT_URL=https://git.luke-else.co.uk
|
|
|
|
- SSH_PORT=222
|
|
|
|
- SSH_LISTEN_PORT=22
|
|
|
|
- DB_TYPE=sqlite3
|
2022-10-31 21:39:29 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
networks:
|
|
|
|
development:
|
|
|
|
external: true
|