2024-06-09 05:20:58 +00:00
|
|
|
name: code-forge
|
|
|
|
ports:
|
|
|
|
- host: 3000
|
|
|
|
container: 3000
|
|
|
|
- host: 2052
|
|
|
|
container: 2222
|
|
|
|
- host: 3001
|
|
|
|
container: 9187
|
|
|
|
volumes:
|
|
|
|
- name: db
|
|
|
|
- name: forgejo-data
|
|
|
|
- name: forgejo-config
|
|
|
|
containers:
|
|
|
|
- name: db
|
|
|
|
image: postgres:16.2
|
|
|
|
volumes:
|
|
|
|
- name: db
|
|
|
|
container: /var/lib/postgresql/data
|
|
|
|
- name: app
|
2024-11-04 02:43:52 +00:00
|
|
|
image: codeberg.org/forgejo/forgejo:9.0.1-rootless # Updated: 3/11/2024
|
2024-06-09 05:20:58 +00:00
|
|
|
volumes:
|
|
|
|
- host: /etc/timezone
|
|
|
|
container: /etc/timezone
|
|
|
|
readonly: true
|
|
|
|
- host: /etc/localtime
|
|
|
|
container: /etc/localtime
|
|
|
|
readonly: true
|
|
|
|
- name: forgejo-data
|
|
|
|
container: /var/lib/gitea
|
|
|
|
- name: forgejo-config
|
|
|
|
container: /etc/gitea
|
|
|
|
- name: pg-exporter
|
|
|
|
image: quay.io/prometheuscommunity/postgres-exporter
|
|
|
|
env-file: /etc/opt/spadinastan/code-forge-exporter.env
|