-
This commit is contained in:
11
gitea/.env
Normal file
11
gitea/.env
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Environment variables for Gitea
|
||||||
|
|
||||||
|
USER_UID=1000
|
||||||
|
USER_GID=1000
|
||||||
|
GITEA__database__DB_TYPE=mysql
|
||||||
|
GITEA__database__HOST=database:3306
|
||||||
|
GITEA__database__NAME=gitea
|
||||||
|
GITEA__database__USER=gitea
|
||||||
|
GITEA__database__PASSWD=giteapass123
|
||||||
|
PORT_1="3000" # "3000:3000"
|
||||||
|
PORT_2="2222" # "2222:22"
|
||||||
@@ -1,46 +1,23 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
#networks:
|
|
||||||
# gitea:
|
|
||||||
# external: false
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=${USER_UID}
|
||||||
- USER_GID=1000
|
- USER_GID=${USER_GID}
|
||||||
- GITEA__database__DB_TYPE=mysql
|
- GITEA__database__DB_TYPE=${GITEA__database__DB_TYPE}
|
||||||
- GITEA__database__HOST=database:3306
|
- GITEA__database__HOST=${GITEA__database__HOST}
|
||||||
- GITEA__database__NAME=gitea
|
- GITEA__database__NAME=${GITEA__database__NAME}
|
||||||
- GITEA__database__USER=gitea
|
- GITEA__database__USER=${GITEA__database__USER}
|
||||||
- GITEA__database__PASSWD=giteapass123
|
- GITEA__database__PASSWD=${GITEA__database__PASSWD}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# networks:
|
|
||||||
# - gitea
|
|
||||||
volumes:
|
volumes:
|
||||||
# /home/rcadmin/docker/gitea/
|
|
||||||
- /home/rcadmin/docker/gitea/data:/data
|
- /home/rcadmin/docker/gitea/data:/data
|
||||||
- /home/rcadmin/docker/gitea/.ssh:/data/git/.ssh
|
- /home/rcadmin/docker/gitea/.ssh:/data/git/.ssh
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "${PORT_1}:3000"
|
||||||
- "2222:22"
|
- "${PORT_2}:22"
|
||||||
|
|
||||||
# depends_on:
|
|
||||||
# - db
|
|
||||||
|
|
||||||
# db:
|
|
||||||
# image: mariadb:latest
|
|
||||||
# restart: unless-stopped
|
|
||||||
# environment:
|
|
||||||
# - MYSQL_ROOT_PASSWORD=strongpassword
|
|
||||||
# - MYSQL_USER=gitea
|
|
||||||
# - MYSQL_PASSWORD=strongpassword
|
|
||||||
# - MYSQL_DATABASE=gitea
|
|
||||||
# networks:
|
|
||||||
# - gitea
|
|
||||||
# volumes:
|
|
||||||
# - ./mariadb:/var/lib/mysql1~version: "3"
|
|
||||||
|
|||||||
21
homebox/compose.yml
Normal file
21
homebox/compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Service Name: Homebox
|
||||||
|
# Description :
|
||||||
|
# Homepage :
|
||||||
|
|
||||||
|
services:
|
||||||
|
homebox:
|
||||||
|
image: ghcr.io/sysadminsmedia/homebox:latest
|
||||||
|
# image: ghcr.io/sysadminsmedia/homebox:latest-rootless
|
||||||
|
container_name: homebox
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- HBOX_LOG_LEVEL=info
|
||||||
|
- HBOX_LOG_FORMAT=text
|
||||||
|
- HBOX_WEB_MAX_FILE_UPLOAD=10
|
||||||
|
# Please consider allowing analytics to help us improve Homebox (basic computer information, no personal data)
|
||||||
|
- HBOX_OPTIONS_ALLOW_ANALYTICS=false
|
||||||
|
volumes:
|
||||||
|
# - homebox-data:/data/
|
||||||
|
- /home/rcadmin/docker/homebox/data:/data/
|
||||||
|
ports:
|
||||||
|
- 3100:7745
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
# Shepherd variables
|
# Environment variables for Shepherd
|
||||||
|
|
||||||
TZ=Europe/Oslo
|
TZ=Europe/Oslo
|
||||||
|
SLEEP_TIME='180m'
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ services:
|
|||||||
shepherd:
|
shepherd:
|
||||||
#build: .
|
#build: .
|
||||||
image: containrrr/shepherd
|
image: containrrr/shepherd
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
deploy:
|
deploy:
|
||||||
@@ -12,4 +14,4 @@ services:
|
|||||||
- node.role == manager
|
- node.role == manager
|
||||||
environment:
|
environment:
|
||||||
TZ: ${TZ}
|
TZ: ${TZ}
|
||||||
SLEEP_TIME: '180m'
|
SLEEP_TIME: ${SLEEP_TIME}
|
||||||
|
|||||||
5
watchtower/.env
Normal file
5
watchtower/.env
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Environment variables for Watchtower
|
||||||
|
|
||||||
|
TZ=Europe/Oslo
|
||||||
|
WATCHTOWER_SCHEDULE="0 0 1 * * *"
|
||||||
|
WATCHTOWER_CLEANUP="true"
|
||||||
@@ -4,9 +4,9 @@ services:
|
|||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
WATCHTOWER_SCHEDULE: "0 0 1 * * *"
|
WATCHTOWER_SCHEDULE: ${WATCHTOWER_SCHEDULE}
|
||||||
TZ: Europe/Oslo
|
TZ: ${TZ}
|
||||||
WATCHTOWER_CLEANUP: "true"
|
WATCHTOWER_CLEANUP: ${WATCHTOWER_CLEANUP}
|
||||||
# WATCHTOWER_DEBUG: "true"
|
# WATCHTOWER_DEBUG: "true"
|
||||||
# WATCHTOWER_NOTIFICATIONS: "email"
|
# WATCHTOWER_NOTIFICATIONS: "email"
|
||||||
# WATCHTOWER_NOTIFICATION_EMAIL_FROM: "cldocker01@cloud.local"
|
# WATCHTOWER_NOTIFICATION_EMAIL_FROM: "cldocker01@cloud.local"
|
||||||
|
|||||||
Reference in New Issue
Block a user