Compare commits

..

No commits in common. "cda1e2df12806e6078dbb38c88388c986f30eeba" and "fd391f86bd177486883698e0d2a1eef5fc4f3eed" have entirely different histories.

8 changed files with 27 additions and 50 deletions

3
botc/.gitignore vendored
View File

@ -1,4 +1,3 @@
backup/* backup/*
wordpress/* wordpress/*
data/* data/*
db/*

View File

@ -8,7 +8,7 @@ services:
MYSQL_PASSWORD: ${DBPASS} MYSQL_PASSWORD: ${DBPASS}
MYSQL_RANDOM_ROOT_PASSWORD: '1' MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes: volumes:
- ./db:/var/lib/mysql:rw - ./db:/var/lib/mysql
wordpress: wordpress:
depends_on: depends_on:
- db - db
@ -26,8 +26,10 @@ services:
LETSENCRYPT_EMAIL: ${EMAIL} LETSENCRYPT_EMAIL: ${EMAIL}
# LETSENCRYPT_TEST: true # LETSENCRYPT_TEST: true
volumes: volumes:
- ./wordpress:/var/www/html:rw - ./wordpress:/var/www/html
- ./backup:/var/www/html/wp-content/updraft:rw - ./backup:/var/www/html/wp-content/updraft
volumes:
db:
networks: networks:
default: default:
name: nginx-proxy name: nginx-proxy

View File

@ -10,7 +10,7 @@ services:
- ${DATA_LOCATION}/homarr:/data - ${DATA_LOCATION}/homarr:/data
environment: environment:
- VIRTUAL_HOST=homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN} - VIRTUAL_HOST=homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}
- LETSENCRYPT_HOST=${DOMAIN} - LETSENCRYPT_HOST="homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}"
- LETSENCRYPT_EMAIL=${EMAIL} - LETSENCRYPT_EMAIL=${EMAIL}
expose: expose:
- "7575" - "7575"

3
gitea/.gitignore vendored
View File

@ -1,3 +0,0 @@
config/*
data/*
db/*

View File

@ -1,40 +0,0 @@
services:
server:
image: gitea/gitea:latest-rootless
container_name: gitea
depends_on:
- db
environment:
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=gitea-db-1:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=${DBPASS}
- VIRTUAL_HOST=git.${DOMAIN},git.${DOMAIN}
- VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=git.${DOMAIN},git.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
restart: always
volumes:
- ./data:/var/lib/gitea
- ./config:/etc/gitea
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "2222:2222"
expose:
- "3000"
db:
image: postgres:14
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=${DBPASS}
- POSTGRES_DB=gitea
volumes:
- ./db:/var/lib/postgresql/data
networks:
default:
name: nginx-proxy
external: true

View File

@ -1,7 +1,6 @@
DOMAIN=example.com DOMAIN=example.com
UID=1000 UID=1000
GID=1000 GID=1000
DBPASS=gitea
TZ=Etc/UTC TZ=Etc/UTC
CONFIG_LOCATION=./config CONFIG_LOCATION=./config
DATA_LOCATION=./data DATA_LOCATION=./data

1
gitlab/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data/

19
gitlab/docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
services:
gitlab:
image: gitlab/gitlab-ee:16.9.6-ee.0
container_name: gitlab
restart: always
hostname: 'gitlab.${DOMAIN}'
environment:
- VIRTUAL_HOST=gitlab.${DOMAIN}
- LETSENCRYPT_HOST=gitlab.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
volumes:
- '${CONFIG_LOCATION}/gitlab:/etc/gitlab'
- '${CONFIG_LOCATION}/logs:/var/log/gitlab'
- '${DATA_LOCATION}/data:/var/opt/gitlab'
shm_size: '256m'
networks:
default:
name: nginx-proxy
external: true