mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-27 02:40:30 +00:00
Switch in docs to new docker hub image repo (#227)
This commit is contained in:
parent
77e046b47f
commit
310c46d3ab
15 changed files with 38 additions and 38 deletions
|
@ -1,4 +1,4 @@
|
|||
# docker build --rm -t drone/drone .
|
||||
# docker build --rm -t woodpeckerci/woodpecker-server .
|
||||
|
||||
FROM drone/ca-certs
|
||||
EXPOSE 8000 9000 80 443
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# docker build --rm -f Dockerfile.agent -t drone/agent .
|
||||
# docker build --rm -f Dockerfile.agent -t woodpeckerci/woodpecker-agent .
|
||||
|
||||
FROM drone/ca-certs
|
||||
ENV GODEBUG=netdns=go
|
||||
|
|
|
@ -2,7 +2,7 @@ replicaCount: 2
|
|||
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: laszlocloud/woodpecker-agent
|
||||
repository: woodpeckerci/woodpecker-agent
|
||||
pullPolicy: Always
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: ""
|
||||
|
|
|
@ -2,7 +2,7 @@ replicaCount: 1
|
|||
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: laszlocloud/woodpecker-server
|
||||
repository: woodpeckerci/woodpecker-server
|
||||
pullPolicy: Always
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: ""
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: laszlocloud/woodpecker-server:local
|
||||
image: woodpeckerci/woodpecker-server:local
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
|
@ -22,7 +22,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.agent
|
||||
image: laszlocloud/woodpecker-agent:local
|
||||
image: woodpeckerci/woodpecker-agent:local
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
|
|
|
@ -7,7 +7,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -23,7 +23,7 @@ services:
|
|||
- DRONE_SECRET=${DRONE_SECRET}
|
||||
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
|
|
|
@ -7,7 +7,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -28,7 +28,7 @@ services:
|
|||
+ - /path/to/key.pem:/path/to/key.pem
|
||||
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
|
@ -62,7 +62,7 @@ version: '2'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- DRONE_OPEN=true
|
||||
- DRONE_HOST=${DRONE_HOST}
|
||||
|
@ -84,7 +84,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- DRONE_OPEN=true
|
||||
- DRONE_HOST=${DRONE_HOST}
|
||||
|
|
|
@ -11,7 +11,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
+ DRONE_DATABASE_DRIVER: mysql
|
||||
+ DRONE_DATABASE_DATASOURCE: root:password@tcp(1.2.3.4:3306)/drone?parseTime=true
|
||||
|
@ -26,7 +26,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
+ DRONE_DATABASE_DRIVER: postgres
|
||||
+ DRONE_DATABASE_DATASOURCE: postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable
|
||||
|
|
|
@ -7,7 +7,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -23,7 +23,7 @@ services:
|
|||
- DRONE_SECRET=${DRONE_SECRET}
|
||||
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
|
|
|
@ -7,7 +7,7 @@ version: '2'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -22,7 +22,7 @@ services:
|
|||
- DRONE_SECRET=${DRONE_SECRET}
|
||||
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
restart: always
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
|
|
|
@ -7,7 +7,7 @@ You can enable Let's Encrypt by making the following modifications to your serve
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
+ - 80:80
|
||||
+ - 443:443
|
||||
|
|
|
@ -5,7 +5,7 @@ Woodpecker supports ssl configuration by mounting certificates into your contain
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
+ - 80:80
|
||||
+ - 443:443
|
||||
|
@ -25,7 +25,7 @@ Update your configuration to expose the following ports:
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
+ - 80:80
|
||||
+ - 443:443
|
||||
|
@ -37,7 +37,7 @@ Update your configuration to mount your certificate and key:
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
@ -53,7 +53,7 @@ Update your configuration to provide the paths of your certificate and key:
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
|
|
@ -103,7 +103,7 @@ WOODPECKER_ENVIRONMENT=first_var:value1,second_var:value2
|
|||
```.diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
- WOODPECKER_ORGS=dolores,dogpatch
|
||||
|
|
|
@ -136,7 +136,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
|
|
@ -10,7 +10,7 @@ version: '3'
|
|||
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -26,7 +26,7 @@ services:
|
|||
- WOODPECKER_SECRET=${WOODPECKER_SECRET}
|
||||
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
command: agent
|
||||
restart: always
|
||||
depends_on:
|
||||
|
@ -55,7 +55,7 @@ You must therefore provide the address in `<scheme>://<hostname>` format. Please
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
+ - WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||
|
@ -70,7 +70,7 @@ Agents require access to the host machine's Docker daemon.
|
|||
```diff
|
||||
services:
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
command: agent
|
||||
restart: always
|
||||
depends_on: [ woodpecker-server ]
|
||||
|
@ -83,7 +83,7 @@ Agents require the server address for agent-to-server communication.
|
|||
```diff
|
||||
services:
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
command: agent
|
||||
restart: always
|
||||
depends_on: [ woodpecker-server ]
|
||||
|
@ -101,7 +101,7 @@ This should be a random string of your choosing and should be kept private. You
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||
|
@ -110,7 +110,7 @@ services:
|
|||
- WOODPECKER_GITHUB_SECRET=${WOODPECKER_GITHUB_SECRET}
|
||||
+ - WOODPECKER_SECRET=${WOODPECKER_SECRET}
|
||||
woodpecker-agent:
|
||||
image: laszlocloud/woodpecker-agent:v0.9.0
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
environment:
|
||||
- WOODPECKER_SERVER=woodpecker-server:9000
|
||||
- WOODPECKER_DEBUG=true
|
||||
|
@ -124,7 +124,7 @@ This example enables open registration for users that are members of approved Gi
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
+ - WOODPECKER_OPEN=true
|
||||
+ - WOODPECKER_ORGS=dolores,dogpatch
|
||||
|
@ -140,7 +140,7 @@ Administrators should also be enumerated in your configuration.
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
- WOODPECKER_ORGS=dolores,dogpatch
|
||||
|
@ -168,7 +168,7 @@ See the [database settings](/administration/database) page to configure Postgres
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
ports:
|
||||
- 80:8000
|
||||
- 9000
|
||||
|
@ -226,7 +226,7 @@ spec:
|
|||
prometheus.io/scrape: 'true'
|
||||
spec:
|
||||
containers:
|
||||
- image: laszlocloud/woodpecker-server:v0.13.0-rc.3
|
||||
- image: woodpeckerci/woodpecker-server:latest
|
||||
imagePullPolicy: Always
|
||||
name: woodpecker
|
||||
env:
|
||||
|
@ -323,7 +323,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: agent
|
||||
image: laszlocloud/woodpecker-agent:v0.13.0-rc.3
|
||||
image: woodpeckerci/woodpecker-agent:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
|
@ -369,7 +369,7 @@ Use the `WOODPECKER_REPO_OWNERS` variable to filter which Github user's repos sh
|
|||
```diff
|
||||
services:
|
||||
woodpecker-server:
|
||||
image: laszlocloud/woodpecker-server:v0.9.0
|
||||
image: woodpeckerci/woodpecker-server:latest
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
- WOODPECKER_ORGS=dolores,dogpatch
|
||||
|
|
Loading…
Reference in a new issue