1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| version: '2' services: gogs: image: gogs/gogs container_name: gogs restart: always ports: - 3000:3000 volumes: - ./data:/data drone: image: drone/drone:1.0.1 container_name: drone restart: always ports: - 80:80 environment: - DRONE_GIT_ALWAYS_AUTH=false - DRONE_GOGS_SERVER=http://gogs.xxxx.com - DRONE_RUNNER_CAPACITY=2 - DRONE_SERVER_HOST=drone.xxxx.com - DRONE_SERVER_PROTO=http - DRONE_TLS_AUTOCERT=false volumes: - ./data:/data - /var/run/docker.sock:/var/run/docker.sock
|