Gitea docker container
Command
- start container:
$ docker-compose -f <path of docker-compose.yml> start - update container:
- edit docker-compose.yml file
- stop and remove old container:
$ docker-compose -f <path of docker-compose.yml> down - create new container and run in background(-d):
$ docker-compose -f <path of docker-command.yml> up -d
Runner configuration
<service name ex. 'runner1'>:
image: gitea/act_runner:0.2.6
restart: always
networks:
- gitea
volumes:
- ./data/act_runner:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=http://<gitea server service name>:3000
- GITEA_RUNNER_REGISTRATION_TOKEN=<registration token>
reference
Description