Files
web/compose.dev.yml
Max eed1cf2456
All checks were successful
🔧 Pipeline / 🪨 Terraform (push) Successful in 9s
Add automatic back-ups. (#21)
## 🔍 Motivation & Context

I lost 5 months of work. Let us not have this happen again.

## 🔖 Related Issue

Solves #11.

##  Changes

- Added `crontab` job to Gitea instance.

Reviewed-on: https://code.maximhutz.com/Web/Gitea/pulls/21
Co-authored-by: Max <git@maximhutz.me>
Co-committed-by: Max <git@maximhutz.me>
2025-01-09 17:50:08 +00:00

33 lines
818 B
YAML

name: codebase-dev
services:
# proxy:
# container_name: codebase-dev-proxy
# build:
# context: proxy
# dockerfile: Dockerfile
# environment:
# GITEA_IP: http://httpforever.com/
# ports:
# - 80:80
gitea:
container_name: codebase-dev-gitea
build:
context: gitea
dockerfile: Dockerfile.dev
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 80:80
- 443:443
- 2222:2222
# runner:
# container_name: codebase-dev-runner
# image: gitea/act_runner
# environment:
# GITEA_INSTANCE_URL: "https://code.maximhutz.com/"
# GITEA_RUNNER_REGISTRATION_TOKEN: "bgM1Ux9do7EWj6JwniXjdfs8fmjuzWgMeeNF5vhd"
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock