fixing the env vars refs
This commit is contained in:
parent
c415ed20c3
commit
dd9729f9da
@ -94,7 +94,7 @@ def gen_env(kv):
|
||||
"""
|
||||
env = ""
|
||||
for key, value in kv.items():
|
||||
env += f"{key}=\"{value}\"\n"
|
||||
env += f"{key}='{value}'\n"
|
||||
|
||||
return env
|
||||
|
||||
|
@ -7,7 +7,6 @@ services:
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp"
|
||||
networks:
|
||||
- caddy
|
||||
volumes:
|
||||
|
@ -20,11 +20,11 @@ services:
|
||||
ports:
|
||||
- "127.0.0.1:2222:22"
|
||||
depends_on:
|
||||
- postgres-gitea
|
||||
- postgres
|
||||
|
||||
postgres-gitea:
|
||||
postgres:
|
||||
image: postgres:17
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
env_file: "priv/env"
|
||||
networks:
|
||||
- gitea
|
||||
@ -35,7 +35,6 @@ networks:
|
||||
gitea:
|
||||
external: false
|
||||
caddy:
|
||||
external:
|
||||
name: caddy_caddy
|
||||
external: true
|
||||
name: caddy_caddy
|
||||
driver: bridge
|
||||
|
||||
|
@ -6,6 +6,6 @@ GITEA__database__USER="gitea"
|
||||
GITEA__database__PASSWD=""
|
||||
|
||||
## Postgresql Settings
|
||||
POSTGRES_USER="$GITEA__database__USER"
|
||||
POSTGRES_USER="gitea"
|
||||
POSTGRES_DB="gitea"
|
||||
POSTGRES_PASSWORD="$GITEA__database__PASSWD"
|
||||
POSTGRES_DB="$GITEA__database__NAME"
|
||||
|
@ -50,6 +50,6 @@ networks:
|
||||
seafile:
|
||||
external: false
|
||||
caddy:
|
||||
external:
|
||||
name: caddy_caddy
|
||||
external: true
|
||||
name: caddy_caddy
|
||||
driver: bridge
|
||||
|
22
seafile/env
22
seafile/env
@ -3,10 +3,6 @@ MYSQL_ROOT_PASSWORD=""
|
||||
MYSQL_LOG_CONSOLE="true"
|
||||
MARIADB_AUTO_UPGRADE=1
|
||||
|
||||
## Seafile Settings
|
||||
# COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml'
|
||||
# COMPOSE_PATH_SEPARATOR=','
|
||||
|
||||
TIME_ZONE="America/New_York"
|
||||
|
||||
SEAFILE_VOLUME="volumes/seafile/data"
|
||||
@ -26,21 +22,3 @@ INIT_SEAFILE_ADMIN_EMAIL=""
|
||||
INIT_SEAFILE_ADMIN_PASSWORD=""
|
||||
|
||||
ENABLE_SEADOC=false
|
||||
|
||||
# SEAFILE_VOLUME="volumes/seafile/data"
|
||||
# SEAFILE_CADDY_VOLUME="volumes/caddy/data"
|
||||
|
||||
# DB_ROOT_PASSWORD="$MYSQL_ROOT_PASSWORD"
|
||||
# SEAFILE_MYSQL_DB_HOST="mariadb"
|
||||
# SEAFILE_MYSQL_DB_USER="seafile"
|
||||
# SEAFILE_MYSQL_DB_PASSWORD=""
|
||||
|
||||
# SEAFILE_JWT_PRIVATE_KEY=""
|
||||
|
||||
# SEAFILE_SERVER_HOSTNAME=""
|
||||
# SEAFILE_SERVER_PROTOCOL="https"
|
||||
|
||||
# INIT_SEAFILE_ADMIN_EMAIL=""
|
||||
# INIT_SEAFILE_ADMIN_PASSWORD=""
|
||||
|
||||
# ENABLE_SEADOC=false
|
||||
|
Loading…
x
Reference in New Issue
Block a user