more vars to .env

This commit is contained in:
2026-04-03 08:12:11 +00:00
parent 9001e15fe7
commit be698ee53e

View File

@@ -27,8 +27,8 @@ services:
- "/etc/timezone:/etc/timezone:ro" - "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
ports: ports:
- "3001:3000" - "${GITEA_WEB_PORT}:3000"
- "222:22" - "${GITEA_SSH_PORT}:22"
depends_on: depends_on:
- db - db
@@ -57,8 +57,8 @@ services:
- CONFIG_FILE=/data/config.yaml - CONFIG_FILE=/data/config.yaml
volumes: volumes:
- "${GITEA_HOME}/runner:/data" - "${GITEA_HOME}/runner:/data"
- "/srv/www:/deploy" - "${WWW_HOME}:/deploy"
- "/srv/configs:/assets" - "${CONFIGS_HOME}:/assets"
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
networks: networks:
- gitea_net - gitea_net
@@ -71,9 +71,9 @@ services:
container_name: docs-public container_name: docs-public
restart: always restart: always
ports: ports:
- "9895:80" - "${DOCS_PUBLIC_PORT}:80"
volumes: volumes:
- "/srv/www/docs-public:/usr/share/nginx/html:ro" - "${WWW_HOME}/docs-public:/usr/share/nginx/html:ro"
networks: networks:
- gitea_net - gitea_net
@@ -83,8 +83,8 @@ services:
container_name: docs-private container_name: docs-private
restart: always restart: always
ports: ports:
- "9897:80" - "${DOCS_PRIVATE_PORT}:80"
volumes: volumes:
- "/srv/www/docs-private:/usr/share/nginx/html:ro" - "${WWW_HOME}/docs-private:/usr/share/nginx/html:ro"
networks: networks:
- gitea_net - gitea_net