File tree Expand file tree Collapse file tree 5 files changed +112
-0
lines changed
Expand file tree Collapse file tree 5 files changed +112
-0
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ insert_final_newline = true
7+ indent_style = space
8+ indent_size = 4
9+
10+ [* .md ]
11+ trim_trailing_whitespace = false
12+
13+ [* .{yml,yaml} ]
14+ indent_style = space
15+ indent_size = 2
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 1+ /node_modules
2+ /src /public /hot
3+ /src /public /storage
4+ /src /storage /* .key
5+ /src /storage /text-files
6+ /src /vendor
7+ /local-data
8+ .env *
9+ ! .env.example
10+ ! .env.testing
11+ /src /.phpunit.result.cache
12+ docker-compose.override.yml
13+ Homestead.json
14+ Homestead.yaml
15+ npm-debug.log
16+ yarn-error.log
17+ /.idea
18+ /.vscode
19+ * .sql
20+ * .sql.gz
21+
22+ # app specific
23+ beszel_data /
24+ beszel_socket /
25+ beszel_agent_data /
26+ backups /
Original file line number Diff line number Diff line change 1+ # Dockerized Nginx Reversed Proxy and ACME companion
2+
3+ ## Building for development/local docker
4+
5+ There is an .env.example file.
6+ Make your changes there and rename it to .env
7+ The start the image.
8+
9+ $ docker compose up -d
10+
11+ Then stop the container:
12+
13+ $ docker compose down
14+
15+ Locally you have to create the shared network:
16+
17+ $ docker create network kali-net
18+
19+ Add these to you .env and rebuild/restart the conainer:
20+
21+ $ docker compose up -d --build --force-recreate
22+
23+ For further documentation see the official guide at https://beszel.dev/ .
24+
25+ ## Deployment
26+
27+ Deployment is done by Github actions.
28+
Original file line number Diff line number Diff line change 1+ services :
2+ nginx-proxy :
3+ image : nginxproxy/nginx-proxy
4+ container_name : nginx-proxy
5+ restart : unless-stopped
6+ ports :
7+ - " 80:80"
8+ - " 443:443"
9+ volumes :
10+ - /var/run/docker.sock:/tmp/docker.sock:ro
11+ - certs:/etc/nginx/certs
12+ - vhost:/etc/nginx/vhost.d
13+ - html:/usr/share/nginx/html
14+ networks :
15+ - kali-net
16+
17+ nginx-proxy-acme :
18+ image : nginxproxy/acme-companion
19+ container_name : nginx-proxy-acme
20+ environment :
21+ - NGINX_PROXY_CONTAINER=nginx-proxy
22+ - DEFAULT_EMAIL=${DEFAULT_EMAIL}
23+ depends_on :
24+ - nginx-proxy
25+ volumes :
26+ - /var/run/docker.sock:/var/run/docker.sock:ro
27+ - certs:/etc/nginx/certs
28+ - vhost:/etc/nginx/vhost.d
29+ - html:/usr/share/nginx/html
30+ - acme:/etc/acme.sh
31+ networks :
32+ - kali-net
33+
34+ volumes :
35+ certs :
36+ vhost :
37+ html :
38+ acme :
39+
40+ networks :
41+ kali-net :
42+ external : true
You can’t perform that action at this time.
0 commit comments