51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
version: "3.3"
|
|
services:
|
|
cursorius-server:
|
|
build:
|
|
context: ".."
|
|
dockerfile: "docker/cursorius/Dockerfile.dev"
|
|
ports:
|
|
- "0.0.0.0:45420:45420"
|
|
networks:
|
|
- cursorius
|
|
volumes:
|
|
- "..:/build/server"
|
|
- "./server.toml:/root/.config/cursorius/server.toml"
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
- "../_working/go:/go"
|
|
- "../_working/jobs:/cursorius/jobs"
|
|
cursorius-db:
|
|
image: postgres:14
|
|
environment:
|
|
- POSTGRES_USER=cursorius
|
|
- POSTGRES_PASSWORD=cursorius
|
|
- POSTGRES_DB=cursorius
|
|
volumes:
|
|
- "../_working/postgres:/var/lib/postgresql/data"
|
|
networks:
|
|
- cursorius
|
|
graphiql:
|
|
build:
|
|
context: "graphiql"
|
|
dockerfile: "Dockerfile.graphiql"
|
|
ports:
|
|
- "0.0.0.0:45421:80"
|
|
networks:
|
|
- cursorius
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
profiles: ["gitea"]
|
|
environment:
|
|
- GITEA__webhook__ALLOWED_HOST_LIST=cursorius-server, external
|
|
ports:
|
|
- "127.0.0.1:2222:22"
|
|
- "127.0.0.1:3000:3000"
|
|
networks:
|
|
- cursorius
|
|
volumes:
|
|
- "../_working/gitea:/data"
|
|
|
|
networks:
|
|
cursorius:
|
|
external: true
|