44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
version: "3"
|
|
|
|
name: gitea_compose
|
|
|
|
services:
|
|
gitea:
|
|
container_name: gitea
|
|
image: gitea/gitea:latest-rootless
|
|
user: "1000"
|
|
restart: always
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /home/git/data/:/data
|
|
- /home/git/data/:/var/lib/gitea/data
|
|
- /home/git/config/:/etc/gitea
|
|
ports:
|
|
- "8880:3000" # see also: ./nginx.conf
|
|
- "127.0.0.1:2222:22"
|
|
|
|
gitea_runner:
|
|
container_name: gitea_runner
|
|
image: gitea/act_runner:latest
|
|
restart: always
|
|
depends_on:
|
|
- gitea
|
|
volumes:
|
|
- /home/git/data/act_runner:/data
|
|
- /home/git/runner-config.yml:/config.yml
|
|
- /run/user/1000/docker.sock:/var/run/docker.sock
|
|
env_file:
|
|
- /home/git/.env.runner
|
|
|
|
opengist:
|
|
container_name: opengist
|
|
image: ghcr.io/thomiceli/opengist:1
|
|
command: ['./opengist', '--config', '/root/opengist.yml']
|
|
restart: always
|
|
volumes:
|
|
- "/home/git/opengist:/root/.opengist"
|
|
- "/home/git/opengist.yml:/root/opengist.yml"
|
|
ports:
|
|
- "8881:6157" # http
|