mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 13:58:42 +00:00
update drone
This commit is contained in:
parent
99d7d80c49
commit
67522791b5
@ -69,7 +69,7 @@ File: secrets.yml
|
|||||||
environment:
|
environment:
|
||||||
DOCKER_USER: noreply
|
DOCKER_USER: noreply
|
||||||
DOCKER_PASS: ********
|
DOCKER_PASS: ********
|
||||||
DOCKER_EMAIL: noreply@easypi.info
|
DOCKER_EMAIL: noreply@easypi.pro
|
||||||
```
|
```
|
||||||
|
|
||||||
## read more
|
## read more
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
version: '3.7'
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
drone:
|
drone:
|
||||||
image: drone/drone:1.6-linux-arm
|
image: drone/drone:1.10-linux-arm
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
@ -17,12 +17,11 @@ services:
|
|||||||
- DRONE_GOGS_SERVER=http://gogs:3000
|
- DRONE_GOGS_SERVER=http://gogs:3000
|
||||||
- DRONE_AGENTS_ENABLED=true
|
- DRONE_AGENTS_ENABLED=true
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
|
||||||
- gogs
|
- gogs
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
|
||||||
agent:
|
agent:
|
||||||
image: drone/agent:1.6-linux-arm
|
image: drone/agent:1.10-linux-arm
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
@ -33,7 +32,7 @@ services:
|
|||||||
- DRONE_RUNNER_CAPACITY=2
|
- DRONE_RUNNER_CAPACITY=2
|
||||||
depends_on:
|
depends_on:
|
||||||
- drone
|
- drone
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
|
||||||
gogs:
|
gogs:
|
||||||
image: easypi/gogs-arm
|
image: easypi/gogs-arm
|
||||||
@ -42,4 +41,4 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/gogs:/data
|
- ./data/gogs:/data
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
version: "3.7"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
drone:
|
drone:
|
||||||
image: drone/drone:1.6-linux-amd64
|
image: drone/drone:1.10-linux-amd64
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
@ -17,12 +17,12 @@ services:
|
|||||||
- DRONE_GOGS_SERVER=http://gogs:3000
|
- DRONE_GOGS_SERVER=http://gogs:3000
|
||||||
- DRONE_AGENTS_ENABLED=true
|
- DRONE_AGENTS_ENABLED=true
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
|
||||||
- gogs
|
- gogs
|
||||||
restart: always
|
- postgres
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
agent:
|
agent:
|
||||||
image: drone/agent:1.6-linux-amd64
|
image: drone/agent:1.10-linux-amd64
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
@ -33,10 +33,10 @@ services:
|
|||||||
- DRONE_RUNNER_CAPACITY=2
|
- DRONE_RUNNER_CAPACITY=2
|
||||||
depends_on:
|
depends_on:
|
||||||
- drone
|
- drone
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12-alpine
|
image: postgres:13-alpine
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
@ -45,7 +45,7 @@ services:
|
|||||||
- POSTGRES_USER=drone
|
- POSTGRES_USER=drone
|
||||||
- POSTGRES_PASSWORD=drone
|
- POSTGRES_PASSWORD=drone
|
||||||
- POSTGRES_DB=drone
|
- POSTGRES_DB=drone
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
|
||||||
gogs:
|
gogs:
|
||||||
image: gogs/gogs
|
image: gogs/gogs
|
||||||
@ -54,4 +54,4 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/gogs:/data
|
- ./data/gogs:/data
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user