Compare commits
3 Commits
7f7667dd57
...
cec5dfec9f
Author | SHA1 | Date | |
---|---|---|---|
|
cec5dfec9f | ||
|
77827af3ac | ||
|
e0802d6618 |
29
.woodpecker.yml
Normal file
29
.woodpecker.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
branches: main
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
woodpecker-ci:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
privileged: true
|
||||||
|
secrets: [repository_username, repository_password]
|
||||||
|
settings:
|
||||||
|
dockerfile: woodpecker-ci/Containerfile
|
||||||
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
|
registry: git.shrug.pw
|
||||||
|
repo: git.shrug.pw/neil/cultfiftoctet.org
|
||||||
|
tag: latest
|
||||||
|
pull_image: true
|
||||||
|
auto_tag: true
|
||||||
|
auto_labels: true
|
||||||
|
mtu: 1480
|
||||||
|
username:
|
||||||
|
from_secret: registry_username
|
||||||
|
password:
|
||||||
|
from_secret: registry_password
|
||||||
|
logins:
|
||||||
|
- registry: git.shrug.pw
|
||||||
|
username:
|
||||||
|
from_secret: registry_username
|
||||||
|
password:
|
||||||
|
from_secret: registry_password
|
||||||
|
|
@ -2,3 +2,4 @@ FROM docker.io/library/caddy:2.6.0-beta.3
|
|||||||
|
|
||||||
COPY Caddyfile /etc/caddy/Caddyfile
|
COPY Caddyfile /etc/caddy/Caddyfile
|
||||||
COPY index.html /srv/
|
COPY index.html /srv/
|
||||||
|
COPY niusgmrvc.txt /srv/
|
||||||
|
@ -5,7 +5,7 @@ metadata:
|
|||||||
name: caddy
|
name: caddy
|
||||||
namespace: cultfifthoctet
|
namespace: cultfifthoctet
|
||||||
spec:
|
spec:
|
||||||
replicas: 3
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: caddy
|
app: caddy
|
||||||
@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: caddy
|
- name: caddy
|
||||||
image: git.shrug.pw/neil/cultfifthoctet:latest
|
image: git.shrug.pw/neil/cultfifthoctet
|
||||||
ports:
|
ports:
|
||||||
- name: tcp
|
- name: tcp
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
@ -31,7 +31,7 @@ spec:
|
|||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
type: LoadBalancer
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
app: caddy
|
app: caddy
|
||||||
|
|
||||||
|
1
niusgmrvc.txt
Normal file
1
niusgmrvc.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hi!
|
Loading…
x
Reference in New Issue
Block a user