41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
|
version: '3'
|
||
|
services:
|
||
|
nginx:
|
||
|
container_name: "{{nginx.host}}"
|
||
|
image: 'jc21/nginx-proxy-manager:latest'
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
net: {}
|
||
|
ports:
|
||
|
- '{{nginx.endpoints.http}}:80'
|
||
|
- '{{nginx.endpoints.https}}:443'
|
||
|
- '{{nginx.endpoints.admin}}:81'
|
||
|
volumes:
|
||
|
- "{{nginx.paths.data}}:/data"
|
||
|
- "{{nginx.paths.letsencrypt}}:/etc/letsencrypt"
|
||
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||
|
|
||
|
{{ gitea.runner.host }}:
|
||
|
container_name: {{ gitea.runner.host }}
|
||
|
image: gitea/act_runner:nightly
|
||
|
restart: unless-stopped
|
||
|
depends_on:
|
||
|
- nginx
|
||
|
networks:
|
||
|
- net
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
- {{ gitea.runner.volumes.data }}:/data
|
||
|
environment:
|
||
|
- "GITEA_INSTANCE_URL={{ gitea.url }}"
|
||
|
- "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}"
|
||
|
|
||
|
networks:
|
||
|
net:
|
||
|
driver: bridge
|
||
|
ipam:
|
||
|
# driver: default
|
||
|
config:
|
||
|
- subnet: 172.16.69.0/24
|
||
|
gateway: 172.16.69.1
|