Compare commits
No commits in common. "cda1e2df12806e6078dbb38c88388c986f30eeba" and "fd391f86bd177486883698e0d2a1eef5fc4f3eed" have entirely different histories.
cda1e2df12
...
fd391f86bd
3
botc/.gitignore
vendored
3
botc/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
backup/*
|
backup/*
|
||||||
wordpress/*
|
wordpress/*
|
||||||
data/*
|
data/*
|
||||||
db/*
|
|
|
@ -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
|
||||||
|
|
|
@ -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
3
gitea/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
||||||
config/*
|
|
||||||
data/*
|
|
||||||
db/*
|
|
|
@ -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
|
|
|
@ -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
1
gitlab/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/
|
19
gitlab/docker-compose.yml
Normal file
19
gitlab/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user