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