From 435c949d8e33dd06f0c73c9b14d557fb4dcdb87d Mon Sep 17 00:00:00 2001 From: liuyx Date: Mon, 5 Feb 2024 13:36:00 +0800 Subject: [PATCH] feat: update --- docker-compose.yaml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index b68b7a2..54d45a5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,24 +1,22 @@ version: '3' services: - app: - # command: command - container_name: v2 - image: app:latest - restart: always + drone-server: + image: drone/drone:latest ports: - - 3111-3222:3111-3222 - networks: - - local + - 2080:80 + # - 443:443 volumes: - - ${DIR}:/etc/app - - /etc/localtime:/etc/localtime:ro - + - ./drone:/var/lib/drone/ + - /var/run/docker.sock:/var/run/docker.sock + restart: always environment: - APP_ADDRESS: 0.0.0.0:3111 - + - DRONE_GITEA_SERVER: http://gitea + - DRONE_GITEA_CLIENT_ID: 5fc98c4e-dc02-4cda-b382-2f1d2a19f166 + - DRONE_GITEA_CLIENT_SECRET: gto_ysxasskopkn7d2ypvxqbec6ty2nw6gbbe7hyurf7yvims7zrupgq + - DRONE_RPC_SECRET: root + - DRONE_SERVER_HOST: happeny.local:2080 + - DRONE_SERVER_PROTO: http networks: local: name: local external: true - -