Add webhook testing and Docker compose cleanup
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
cursorius-server:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: ./Dockerfile
|
||||
networks:
|
||||
- gitea
|
||||
ports:
|
||||
- "0.0.0.0:45420:45420"
|
||||
volumes:
|
||||
- "../server.toml:/root/.config/cursorius/server.toml"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
environment:
|
||||
- GITEA__webhook__ALLOWED_HOST_LIST=cursorius-server, external
|
||||
ports:
|
||||
- "127.0.0.1:2222:22"
|
||||
- "127.0.0.1:3000:3000"
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- gitea-data:/data
|
||||
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
@@ -0,0 +1,12 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
cursorius-server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
ports:
|
||||
- "0.0.0.0:45420:45420"
|
||||
volumes:
|
||||
- "./server.toml:/root/.config/cursorius/server.toml"
|
||||
- "/home/robby/development/restitux/ohea/cursorius/test/server/job:/job"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
Reference in New Issue
Block a user