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