Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '3'
services:
drone-server:
image: cibernomadas/drone-server
restart: always
networks:
- traefik_net
- drone
ports:
- 9000:9000
volumes:
- server:/var/lib/drone/
environment:
- DRONE_OPEN=true
- DRONE_ADMIN=XXXX
- DRONE_HOST=http://drone.cibernomadas.es
- DRONE_GITEA=true
- DRONE_GITEA_URL=http://dev.cibernomadas.es
- DRONE_SECRET=123123123
labels:
traefik.enable: "true"
traefik.frontend.rule: "Host:drone.cibernomadas.es"
traefik.port: "8000"
traefik.frontend.entryPoints: "http"
traefik.backend: "drone"
traefik.docker.network: "traefik_net"
extra_hosts:
- dev.cibernomadas.es:192.168.0.X
- drone.cibernomadas.es:192.168.0.X
drone-agent:
image: cibernomadas/drone-agent
restart: always
command:
- agent
- --docker-os=linux
- --docker-arch=arm
- --timeout=30m
depends_on:
- drone-server
networks:
- drone
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=123123123
extra_hosts:
- dev.cibernomadas.es:192.168.0.X
- drone.cibernomadas.es:192.168.0.X
volumes:
server:
networks:
traefik_net:
external: true
drone:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.