mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-04 16:56:56 +00:00
drone files
This commit is contained in:
parent
b811a5723a
commit
151375082e
@ -62,23 +62,3 @@ spec:
|
||||
secretKeyRef:
|
||||
name: drone-server-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
|
||||
type: Opaque
|
||||
data:
|
||||
DRONE_GITHUB_CLIENT_ID: xxxxxxx
|
||||
DRONE_GITHUB_CLIENT_SECRET: xxxxxxx
|
||||
DRONE_RPC_SECRET: xxxxxxx
|
||||
DRONE_DATABASE_DATASOURCE: xxxxxxx
|
||||
DRONE_USER_CREATE: xxxxxxx
|
||||
DRONE_SERVER_HOST: xxxxxxx
|
||||
DRONE_GITHUB_CLIENT_ID: xxxxxxx #Get this from GitHub OAUTH
|
||||
DRONE_GITHUB_CLIENT_SECRET: xxxxxxx #Get this from GitHub OAUTH
|
||||
DRONE_RPC_SECRET: xxxxxxx #openssl rand -hex 16
|
||||
DRONE_DATABASE_DATASOURCE: xxxxxxx #postgres://postgresadmin:admin123@postgres:5432/postgresdb?sslmode=disable
|
||||
DRONE_USER_CREATE: xxxxxxx #username:marcel-dempers,admin:true
|
||||
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