synchronization

This commit is contained in:
2025-08-25 17:53:08 +08:00
commit c201eb5ef9
318 changed files with 23092 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
FROM busybox:latest AS prod
RUN echo "启动成功" > /file.txt
CMD ["tail","-f","/file.txt"]

View File

@@ -0,0 +1,16 @@
version: '3'
services:
webapp:
build: ./
# services:
# webapp:
# build:
# context: ./
# dockerfile: Dockerfile
# args:
# buildno: 1
# labels:
# - "offends"
# target: prod

View File

@@ -0,0 +1,7 @@
version: "3"
services:
nginx:
image: nginx:latest
ports:
- "80:80"

View File

@@ -0,0 +1,52 @@
version: "3"
services:
gitlab:
depends_on:
- redis
- postgresql
restart: always
image: sameersbn/gitlab:latest
environment:
- DEBUG=false
- TZ=Asia/Shanghai
- GITLAB_TIMEZONE=Beijing
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=gitlab
- DB_PASS=gitlab
- DB_NAME=gitlabhq_production
- GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alphanumeric-string
- GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alphanumeric-string
- GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alphanumeric-string
- GITLAB_HOST=192.168.1.10
- GITLAB_PORT=80
- GITLAB_SSH_HOST=192.168.1.10
- GITLAB_SSH_PORT=222
ports:
- "222:22"
- "80:80"
volumes:
- /data/gitlab/data:/home/git/data:Z
- /data/gitlab/node_modules:/home/git/gitlab/node_modules:Z
- /data/gitlab/log:/var/log/gitlab:Z
redis:
restart: always
image: sameersbn/redis:latest
volumes:
- /data/gitlab/redis:/var/lib/redis:Z
postgresql:
restart: always
image: sameersbn/postgresql:14
environment:
- DB_EXTENSION=pg_trgm,btree_gist
- DB_USER=gitlab
- DB_PASS=gitlab
- DB_NAME=gitlabhq_production
volumes:
- /data/gitlab/postgresql:/var/lib/postgresql:Z