67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
services:
|
|
silverbullet:
|
|
image: ghcr.io/silverbulletmd/silverbullet:latest
|
|
container_name: silverbullet
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./space:/space
|
|
environment:
|
|
- SB_USER=lin:YL@han0824
|
|
- SB_INDEX_PAGE=HOME
|
|
|
|
xinquan:
|
|
build: ./xinquan
|
|
container_name: xinquan
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./xinquan_data:/data
|
|
expose:
|
|
- "8000"
|
|
|
|
caddy:
|
|
image: caddy-cloudflare:latest
|
|
container_name: caddy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
dns:
|
|
- 8.8.8.8
|
|
- 1.1.1.1
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- CF_API_TOKEN=cfut_kQ3VQLZJD9opDWGh2PmdZwU3n8NqOUmwegTBafMG26a806eb
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- ./caddy_data:/data
|
|
- ./caddy_config:/config
|
|
- ./homepage:/srv/homepage
|
|
|
|
sshwifty:
|
|
image: niruix/sshwifty:latest
|
|
container_name: sshwifty
|
|
restart: unless-stopped
|
|
environment:
|
|
- SSHWIFTY_CONFIG=/etc/sshwifty.conf.json
|
|
volumes:
|
|
- ./sshwifty.conf.json:/etc/sshwifty.conf.json
|
|
|
|
gitea:
|
|
image: gitea/gitea:latest
|
|
container_name: gitea
|
|
restart: unless-stopped
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- GITEA__server__ROOT_URL=https://git.hyonglin.top/
|
|
- GITEA__server__DOMAIN=git.hyonglin.top
|
|
- GITEA__server__SSH_DOMAIN=git.hyonglin.top
|
|
- GITEA__server__SSH_PORT=2222
|
|
ports:
|
|
- "2222:22"
|
|
volumes:
|
|
- ./gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|