This commit is contained in:
parent
a9d2c11ce2
commit
298bfd994b
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: default
|
||||||
|
|
||||||
|
metadata:
|
||||||
|
namespace: git
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: docker
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
TOKEN:
|
||||||
|
from_secret: gitea
|
||||||
|
commands:
|
||||||
|
- dockerd &
|
||||||
|
- docker login -u kieran -p $TOKEN git.v0l.io
|
||||||
|
- docker buildx build --push -t git.v0l.io/kieran/zap-stream-core:latest .
|
||||||
|
- kill $(cat /var/run/docker.pid)
|
||||||
|
|
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: zap-stream-core
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
environment:
|
||||||
|
- "RUST_LOG=info"
|
||||||
|
ports:
|
||||||
|
- "3333:3333"
|
||||||
|
- "3334:3334"
|
||||||
|
volumes:
|
||||||
|
- "./config.toml:/app/config.toml:ro"
|
Loading…
Reference in New Issue
Block a user