mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
drone files
This commit is contained in:
parent
b811a5723a
commit
151375082e
@ -62,23 +62,3 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: drone-server-secret
|
name: drone-server-secret
|
||||||
key: DRONE_RPC_SECRET
|
key: DRONE_RPC_SECRET
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: droneserver
|
|
||||||
labels:
|
|
||||||
app: drone-server
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
selector:
|
|
||||||
app: drone-server
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
name: http
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
||||||
- protocol: TCP
|
|
||||||
name: https
|
|
||||||
port: 443
|
|
||||||
targetPort: 443
|
|
@ -4,9 +4,9 @@ metadata:
|
|||||||
name: drone-server-secret
|
name: drone-server-secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
DRONE_GITHUB_CLIENT_ID: xxxxxxx
|
DRONE_GITHUB_CLIENT_ID: xxxxxxx #Get this from GitHub OAUTH
|
||||||
DRONE_GITHUB_CLIENT_SECRET: xxxxxxx
|
DRONE_GITHUB_CLIENT_SECRET: xxxxxxx #Get this from GitHub OAUTH
|
||||||
DRONE_RPC_SECRET: xxxxxxx
|
DRONE_RPC_SECRET: xxxxxxx #openssl rand -hex 16
|
||||||
DRONE_DATABASE_DATASOURCE: xxxxxxx
|
DRONE_DATABASE_DATASOURCE: xxxxxxx #postgres://postgresadmin:admin123@postgres:5432/postgresdb?sslmode=disable
|
||||||
DRONE_USER_CREATE: xxxxxxx
|
DRONE_USER_CREATE: xxxxxxx #username:marcel-dempers,admin:true
|
||||||
DRONE_SERVER_HOST: xxxxxxx
|
DRONE_SERVER_HOST: xxxxxxx #drone.marceldempers.dev
|
19
drone-ci/server/droneserver-service.yaml
Normal file
19
drone-ci/server/droneserver-service.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: droneserver
|
||||||
|
labels:
|
||||||
|
app: drone-server
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
selector:
|
||||||
|
app: drone-server
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
- protocol: TCP
|
||||||
|
name: https
|
||||||
|
port: 443
|
||||||
|
targetPort: 443
|
Loading…
x
Reference in New Issue
Block a user