New addition: Gitea
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Uncomment and change the following variables if you want to use them.
|
||||
#RESTART=unless-stopped
|
||||
#SYNOLOGY_VOLUME=volume1
|
||||
#STACK_NAME=gitea
|
||||
#UID=1024
|
||||
#GID=101
|
||||
#GITEA_CONTAINER_NAME=Gitea
|
||||
#GITEA_TAG=latest
|
||||
#GITEA_PORT_HTTP=3000
|
||||
#GITEA_PORT_SSH=22
|
||||
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
# Gitea
|
||||
server:
|
||||
container_name: ${GITEA_CONTAINER_NAME:-Gitea}
|
||||
image: gitea/gitea:${GITEA_TAG:-latest}
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
environment:
|
||||
USER_UID: ${UID:-1024}
|
||||
USER_GID: ${GID:-101}
|
||||
ports:
|
||||
- ${GITEA_PORT_HTTP:-3000}:3000
|
||||
- ${GITEA_PORT_SSH:-22}:22
|
||||
volumes:
|
||||
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-gitea}/${GITEA_CONTAINER_NAME:-Gitea}/data:/data
|
||||
Reference in New Issue
Block a user