Compare commits
No commits in common. "1126158cb8e896a0efe4085f0f8068907cfbe9d8" and "bc618df96557bac6ec0c03a1f7e0383df7c92e0b" have entirely different histories.
1126158cb8
...
bc618df965
7
.env.pg
7
.env.pg
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
# this is for the backup cron job, NOT for the docker-compose.yml
|
|
||||||
|
|
||||||
POSTGRES_PASSWORD=$(< $HOME/git/.pg.pw)
|
|
||||||
POSTGRES_USER=gitea
|
|
||||||
POSTGRES_DB=gitea
|
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,4 +3,3 @@
|
||||||
db/
|
db/
|
||||||
config/
|
config/
|
||||||
data/
|
data/
|
||||||
backup-pgdump.sql
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: codeberg.org/forgejo-experimental/forgejo:1.20-rootless
|
image: gitea/gitea:latest-rootless
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/gitea
|
- ./data:/var/lib/gitea
|
||||||
|
@ -22,18 +22,18 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
- web
|
- web
|
||||||
environment: {}
|
environment:
|
||||||
# GITEA__database__DB_TYPE: postgres
|
GITEA__database__DB_TYPE: postgres
|
||||||
# GITEA__database__HOST: database:5432
|
GITEA__database__HOST: database:5432
|
||||||
# GITEA__database__NAME: gitea
|
GITEA__database__NAME: gitea
|
||||||
# GITEA__database__USER: gitea
|
GITEA__database__USER: gitea
|
||||||
# GITEA__database__PASSWD__FILE: /run/secrets/pg_password
|
GITEA__database__PASSWD__FILE: /run/secrets/pg_password
|
||||||
# GITEA__mailer__ENABLED: 'true'
|
GITEA__mailer__ENABLED: 'true'
|
||||||
# GITEA__mailer__FROM: git@tams.tech
|
GITEA__mailer__FROM: git@tams.tech
|
||||||
# GITEA__mailer__PROTOCOL: smtps
|
GITEA__mailer__PROTOCOL: smtps
|
||||||
# GITEA__mailer__SMTP_ADDR: in-v3.mailjet.com
|
GITEA__mailer__SMTP_ADDR: in-v3.mailjet.com
|
||||||
# GITEA__mailer__USER__FILE: /run/secrets/mail_api_key
|
GITEA__mailer__USER__FILE: /run/secrets/mail_api_key
|
||||||
# GITEA__mailer__PASSWD__FILE: /run/secrets/mail_secret
|
GITEA__mailer__PASSWD__FILE: /run/secrets/mail_secret
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
secrets:
|
secrets:
|
||||||
|
|
Loading…
Reference in a new issue