mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-04-21 07:09:46 +00:00
added 'Caddyfile.private'
This commit is contained in:
parent
087af75a42
commit
ce8d530592
@ -27,6 +27,7 @@ Edit the generated `.env` files to fill in the required fields:
|
|||||||
- `./vaultwarden/.env`
|
- `./vaultwarden/.env`
|
||||||
- `./wg_easy/.env`
|
- `./wg_easy/.env`
|
||||||
- `./caddy/.env`
|
- `./caddy/.env`
|
||||||
|
- `./caddy/Caddyfile.private`
|
||||||
|
|
||||||
### 4. Start Services
|
### 4. Start Services
|
||||||
Launch all services with the following command:
|
Launch all services with the following command:
|
||||||
|
1
caddy/.gitignore
vendored
1
caddy/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/ssl/*
|
/ssl/*
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
Caddyfile.private
|
@ -194,3 +194,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
import Caddyfile.private
|
||||||
|
1
caddy/Caddyfile.private.example
Normal file
1
caddy/Caddyfile.private.example
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Private Caddy config
|
@ -11,6 +11,7 @@ services:
|
|||||||
- "443:443/udp"
|
- "443:443/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
|
- ./Caddyfile.private:/etc/caddy/Caddyfile.private
|
||||||
- ./ssl:/etc/ssl/custom/
|
- ./ssl:/etc/ssl/custom/
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
|
5
main.sh
5
main.sh
@ -55,13 +55,14 @@ check_docker_compose() {
|
|||||||
|
|
||||||
generate_env_files() {
|
generate_env_files() {
|
||||||
cp --update=none ./gitea/.env.example ./gitea/.env
|
cp --update=none ./gitea/.env.example ./gitea/.env
|
||||||
# cp --update=none ./memos/.env.example ./memos/.env
|
|
||||||
cp --update=none ./searxng/.env.example ./searxng/.env
|
cp --update=none ./searxng/.env.example ./searxng/.env
|
||||||
cp --update=none ./sftpgo/.env.example ./sftpgo/.env
|
cp --update=none ./sftpgo/.env.example ./sftpgo/.env
|
||||||
# cp --update=none ./slash/.env.example ./slash/.env
|
|
||||||
cp --update=none ./vaultwarden/.env.example ./vaultwarden/.env
|
cp --update=none ./vaultwarden/.env.example ./vaultwarden/.env
|
||||||
cp --update=none ./wg_easy/.env.example ./wg_easy/.env
|
cp --update=none ./wg_easy/.env.example ./wg_easy/.env
|
||||||
cp --update=none ./caddy/.env.example ./caddy/.env
|
cp --update=none ./caddy/.env.example ./caddy/.env
|
||||||
|
cp --update=none ./caddy/Caddyfile.private.example ./caddy/Caddyfile.private
|
||||||
|
# cp --update=none ./memos/.env.example ./memos/.env
|
||||||
|
# cp --update=none ./slash/.env.example ./slash/.env
|
||||||
print_success ".env files generated."
|
print_success ".env files generated."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user