There really is too much stuff here... shouldn't really be one commit... Co-authored-by: Max Hutz <maximhutz@gmail.com> Reviewed-on: https://git1.maximhutz.com/Infrastructure/Codebase/pulls/1 Co-authored-by: Max <git@maximhutz.me> Co-committed-by: Max <git@maximhutz.me>
20 lines
493 B
YAML
20 lines
493 B
YAML
name: codebase
|
|
services:
|
|
website:
|
|
container_name: codebase-website
|
|
image: gitea/gitea:latest-rootless
|
|
restart: always
|
|
volumes:
|
|
# Data.
|
|
- ~/boot:/var/lib/gitea
|
|
# Static configuration.
|
|
- ./config:/etc/gitea:ro
|
|
- ./custom:/var/lib/gitea/custom:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "2222:2222"
|
|
environment:
|
|
GITEA_APP_INI: /etc/gitea/app.ini |