fix env
This commit is contained in:
parent
e1909f6211
commit
cd3df10022
1 changed files with 9 additions and 9 deletions
|
@ -12,6 +12,8 @@ services:
|
||||||
image: codeberg.org/forgejo/forgejo:8.0.3
|
image: codeberg.org/forgejo/forgejo:8.0.3
|
||||||
restart: always
|
restart: always
|
||||||
container_name: forgejo
|
container_name: forgejo
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1000
|
- USER_GID=1000
|
||||||
|
@ -45,13 +47,13 @@ services:
|
||||||
- FORGEJO__markup.pandoc_rst__IS_INPUT_FILE=false
|
- FORGEJO__markup.pandoc_rst__IS_INPUT_FILE=false
|
||||||
- FORGEJO__mailer__SMTP_ADDR=mx.gnous.eu
|
- FORGEJO__mailer__SMTP_ADDR=mx.gnous.eu
|
||||||
- FORGEJO__mailer__SMTP_PORT=587
|
- FORGEJO__mailer__SMTP_PORT=587
|
||||||
- FORGEJO__mailer__FROM=${SMTP_USER}
|
# - FORGEJO__mailer__FROM=${SMTP_USER}
|
||||||
- FORGEJO__mailer__USER=${SMTP_USER}
|
# - FORGEJO__mailer__USER=${SMTP_USER}
|
||||||
- FORGEJO__mailer__PASSWD=${SMTP_PASS}
|
# - FORGEJO__mailer__PASSWD=${SMTP_PASS}
|
||||||
- FORGEJO__database__HOST=${MEP_DB_HOST}
|
# - FORGEJO__database__HOST=${MEP_DB_HOST}
|
||||||
- FORGEJO__database__NAME=${FORGEJO_DB_NAME}
|
# - FORGEJO__database__NAME=${FORGEJO_DB_NAME}
|
||||||
- FORGEJO__database__USER=${FORGEJO_DB_USER}
|
# - FORGEJO__database__USER=${FORGEJO_DB_USER}
|
||||||
- FORGEJO__database__PASSWD=${FORGEJO_DB_PASS}
|
# - FORGEJO__database__PASSWD=${FORGEJO_DB_PASS}
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -76,8 +78,6 @@ services:
|
||||||
- "traefik.tcp.routers.forgejo-ssh-gnous.rule=HostSNI(`*`)"
|
- "traefik.tcp.routers.forgejo-ssh-gnous.rule=HostSNI(`*`)"
|
||||||
- "traefik.tcp.routers.forgejo-ssh-gnous.service=forgejo-ssh-gnous"
|
- "traefik.tcp.routers.forgejo-ssh-gnous.service=forgejo-ssh-gnous"
|
||||||
- "traefik.tcp.services.forgejo-ssh-gnous.loadbalancer.server.port=3002"
|
- "traefik.tcp.services.forgejo-ssh-gnous.loadbalancer.server.port=3002"
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- cache
|
- cache
|
||||||
cache:
|
cache:
|
||||||
|
|
Loading…
Reference in a new issue