.
This commit is contained in:
@@ -27,4 +27,4 @@ volumes:
|
|||||||
name: ${GITEA_DB_VOLUMES_DB-DUMPS_NAME}
|
name: ${GITEA_DB_VOLUMES_DB-DUMPS_NAME}
|
||||||
networks:
|
networks:
|
||||||
gitea:
|
gitea:
|
||||||
name: ${GITEA_NETWORK_NAME}
|
name: ${DEFAULT_NETWORK_NAME}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ services:
|
|||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- ${HTTP_PORT}:80
|
- ${APP_PORT}:80
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
db:
|
db:
|
||||||
@@ -35,11 +35,11 @@ services:
|
|||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
name: ${GITEA_APP_VOLUMES_DATA_NAME}
|
name: ${GITEA_APP_DATA-VOLUME_NAME}
|
||||||
db:
|
db:
|
||||||
name: ${GITEA_DB_VOLUMES_DATA_NAME}
|
name: ${GITEA_DB_DATA_VOLUME_NAME}
|
||||||
db-dumps:
|
db-dumps:
|
||||||
name: ${GITEA_DB_VOLUMES_DB-DUMPS_NAME}
|
name: ${GITEA_DB-DUMPS_VOLUME_NAME}
|
||||||
networks:
|
networks:
|
||||||
gitea:
|
gitea:
|
||||||
name: ${GITEA_NETWORK_DEFAULT_NAME}
|
name: ${DEFAULT_NETWORK_NAME}
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
Setup assumes that I don't have access to the host except through Portainer.
|
||||||
|
|
||||||
|
This demonstrates that access to docker is the only real requirement to host git.limbosolutions.com
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Docker
|
- Docker
|
||||||
@@ -15,15 +19,22 @@ If portainer installed use portainer (http://githost:9000) to setup/manage servi
|
|||||||
Required environment variables (.env):
|
Required environment variables (.env):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
GITEA_APP_VOLUMES_DATA_NAME=gitea_app_data
|
GITEA_APP_DATA-VOLUME_NAME=gitea_app_data
|
||||||
GITEA_DB_VOLUMES_DATA_NAME=gitea_db_data
|
GITEA_DB_DATA_VOLUME_NAME=gitea_db_data
|
||||||
GITEA_DB_VOLUMES_DB-DUMPS_NAME=gitea_db-dumps
|
GITEA_DB-DUMPS_VOLUME_NAME=gitea_db-dumps
|
||||||
GITEA_NETWORK_DEFAULT_NAME=gitea_default
|
DEFAULT_NETWORK_NAME=gitea_default
|
||||||
|
# gitea mysql dbname
|
||||||
DB_NAME=??
|
DB_NAME=??
|
||||||
|
# gitea mysql user
|
||||||
DB_USER=??
|
DB_USER=??
|
||||||
|
# gitea mysql password
|
||||||
DB_PASSWORD=??
|
DB_PASSWORD=??
|
||||||
|
# gitea mysql root password
|
||||||
DB_ROOT_PASSWORD=??
|
DB_ROOT_PASSWORD=??
|
||||||
HTTP_PORT=???
|
#git tea access port
|
||||||
|
GITEA_PORT=80
|
||||||
|
#duplicati access port
|
||||||
|
DUPLICATI_PORT=8200
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Gitea
|
#### Gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user