Former-commit-id: 0459047124f6c70de489b472d86deee9db7ba314
Former-commit-id: 66e2b5d312f8f40644191681d5fd375b2652a797
1.0
wanggang 4 years ago
parent 312b48244a
commit be15edf08c

@ -1,18 +1,19 @@
TZ=Asia/Shanghai TZ=Asia/Shanghai
IP=172.20.32.1
PORT=9080
#windows:DOCKER_SOCK=//var/run/docker.sock
#linux:DOCKER_SOCK=/var/run/docker.sock
DOCKER_SOCK=//var/run/docker.sock
#gitea # required
GITEA_HTTP_PORT=3000 IP=
GITEA_SSH_PORT=3022
#drone # linux
DRONE_SERVER_HTTP_PORT=9080 DOCKER_SOCK=/var/run/docker.sock
DRONE_SERVER_HTTPS_PORT=9443
# gitea
# required
DRONE_GITEA_CLIENT_ID=d3348ec2-ec0d-4a76-a80c-c668b7a5b998 DRONE_GITEA_CLIENT_ID=d3348ec2-ec0d-4a76-a80c-c668b7a5b998
# required
DRONE_GITEA_CLIENT_SECRET=Tuh4cP1qaDjBb9fVES6fgQb7VXhKzoYttuPvKnqfl-k= DRONE_GITEA_CLIENT_SECRET=Tuh4cP1qaDjBb9fVES6fgQb7VXhKzoYttuPvKnqfl-k=
DRONE_RPC_SECRET=bea26a2221fd8090ea38720fc445eca6
# drone
DRONE_SERVER_HTTP_PORT=9080
DRONE_SERVER_HTTPS_PORT=9443
DRONE_SERVER_PROTO=http DRONE_SERVER_PROTO=http
DRONE_RPC_SECRET=bea26a2221fd8090ea38720fc445eca6

@ -59,8 +59,8 @@ services:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
ports: ports:
- ${GITEA_HTTP_PORT}:3000 - 3000:3000
- ${GITEA_SSH_PORT}:22 - 3022:22
volumes: volumes:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
@ -70,7 +70,7 @@ services:
restart: always restart: always
ports: ports:
- ${DRONE_SERVER_HTTP_PORT}:80 - ${DRONE_SERVER_HTTP_PORT}:80
- ${DRONE_SERVER_HTTPS_PORT}:443 - 9443:443
environment: environment:
- DRONE_GITEA_SERVER=http://${IP}:3000 - DRONE_GITEA_SERVER=http://${IP}:3000
- DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID} - DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}

Loading…
Cancel
Save