File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,13 @@ Before moving on you must have
1616
1717## Installation
1818
19- Create or update your ` Caddyfile ` file and mount it to ` /etc/caddy/Caddyfile ` in your caddy container.
19+ Add caddy to your ` docker-compose.yaml ` file.
20+
21+ ``` yaml
22+ {{{ # ://./examples/caddy.docker-compose.yaml }}}
23+ ```
24+
25+ Create a ` Caddyfile ` in your ` docker-compose.yaml ` folder and mount it to ` /etc/caddy/Caddyfile ` in your caddy container.
2026
2127``` conf
2228{{{ #://./examples/Caddyfile }}}
@@ -27,3 +33,5 @@ Then spin up your stack:
2733``` bash
2834docker compose up -d
2935```
36+
37+ And you are ready to go!
Original file line number Diff line number Diff line change 1+ services :
2+ secured-signal :
3+ image : ghcr.io/codeshelldev/secured-signal-api:latest
4+ container_name : secured-signal-api
5+ environment :
6+ API__URL : http://signal-api:8080
7+ SETTINGS__VARIABLES__RECIPIENTS : " [+123400002,+123400003,+123400004]"
8+ SETTINGS__VARIABLES__NUMBER : " +123400001"
9+ API__TOKENS : " [LOOOOOONG_STRING]"
10+ restart : unless-stopped
11+ networks :
12+ backend :
13+ aliases :
14+ - secured-signal-api
15+
16+ caddy :
17+ image : caddy:latest
18+ container_name : caddy
19+ ports :
20+ - " 80:80"
21+ - " 443:443"
22+ volumes :
23+ - ./Caddyfile:/etc/caddy/Caddyfile
24+ - data:/data
25+ depends_on :
26+ - secured-signal
27+
28+ networks :
29+ backend :
30+
31+ volumes :
32+ data :
You can’t perform that action at this time.
0 commit comments