Compare commits
4 Commits
fd391f86bd
...
cda1e2df12
Author | SHA1 | Date | |
---|---|---|---|
cda1e2df12 | |||
5786961233 | |||
33098bcc28 | |||
cf76132c0c |
3
botc/.gitignore
vendored
3
botc/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
backup/*
|
||||
wordpress/*
|
||||
data/*
|
||||
data/*
|
||||
db/*
|
||||
|
|
|
@ -8,7 +8,7 @@ services:
|
|||
MYSQL_PASSWORD: ${DBPASS}
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
- ./db:/var/lib/mysql:rw
|
||||
wordpress:
|
||||
depends_on:
|
||||
- db
|
||||
|
@ -26,10 +26,8 @@ services:
|
|||
LETSENCRYPT_EMAIL: ${EMAIL}
|
||||
# LETSENCRYPT_TEST: true
|
||||
volumes:
|
||||
- ./wordpress:/var/www/html
|
||||
- ./backup:/var/www/html/wp-content/updraft
|
||||
volumes:
|
||||
db:
|
||||
- ./wordpress:/var/www/html:rw
|
||||
- ./backup:/var/www/html/wp-content/updraft:rw
|
||||
networks:
|
||||
default:
|
||||
name: nginx-proxy
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
- ${DATA_LOCATION}/homarr:/data
|
||||
environment:
|
||||
- VIRTUAL_HOST=homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}
|
||||
- LETSENCRYPT_HOST="homarr.${DOMAIN}, ${DOMAIN}, www.${DOMAIN}"
|
||||
- LETSENCRYPT_HOST=${DOMAIN}
|
||||
- LETSENCRYPT_EMAIL=${EMAIL}
|
||||
expose:
|
||||
- "7575"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
DOMAIN=example.com
|
||||
UID=1000
|
||||
GID=1000
|
||||
DBPASS=gitea
|
||||
TZ=Etc/UTC
|
||||
CONFIG_LOCATION=./config
|
||||
DATA_LOCATION=./data
|
3
gitea/.gitignore
vendored
Normal file
3
gitea/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
config/*
|
||||
data/*
|
||||
db/*
|
40
gitea/docker-compose.yml
Normal file
40
gitea/docker-compose.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
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
gitlab/.gitignore
vendored
1
gitlab/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
data/
|
|
@ -1,19 +0,0 @@
|
|||
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