CI systems and build tooling to support automation for Wownero development.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
1.3 KiB

version: '3'
services:
drone-server:
image: drone/drone:1
container_name: drone-server
restart: always
ports:
- 80:80
- 443:443
volumes:
- ${DATA_DIR}/drone-server:/data
environment:
DRONE_GITEA_SERVER: ${DRONE_GITEA_SERVER}
DRONE_GITEA_CLIENT_ID: ${DRONE_GITEA_CLIENT_ID}
DRONE_GITEA_CLIENT_SECRET: ${DRONE_GITEA_CLIENT_SECRET}
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET}
DRONE_COOKIE_SECRET: ${DRONE_COOKIE_SECRET}
DRONE_COOKIE_TIMEOUT: ${DRONE_COOKIE_TIMEOUT}
DRONE_SERVER_HOST: ${DRONE_SERVER_HOST}
DRONE_SERVER_PROTO: ${DRONE_SERVER_PROTO}
DRONE_USER_FILTER: ${DRONE_USER_FILTER}
DRONE_USER_CREATE: username:${DRONE_ADMIN},admin:true
DRONE_TLS_AUTOCERT: ${DRONE_TLS_AUTOCERT}
DRONE_REGISTRATION_CLOSED: ${DRONE_REGISTRATION_CLOSED}
drone-runner:
image: drone/drone-runner-docker:1
ports:
- 3000:3000
restart: always
container_name: drone-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
DRONE_RPC_PROTO: http
DRONE_RPC_HOST: drone-server
DRONE_RPC_SECRET: ${DRONE_RPC_SECRET}
DRONE_RUNNER_CAPACITY: ${DRONE_RUNNER_CAPACITY}
DRONE_RUNNER_NAME: ${DRONE_RUNNER_NAME}
DRONE_UI_USERNAME: ${DRONE_UI_USERNAME}
DRONE_UI_PASSWORD: ${DRONE_UI_PASSWORD}