Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
!*.py
.gitignore
.git
.github
*.yaml
LICENSE
*.md
1 change: 1 addition & 0 deletions .github/workflows/readme-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Update README
on:
push:
paths:
- examples/**
- docker-compose.yaml
- .github/templates/README.template.md

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.env
.venv
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ And set `API_TOKEN` to a long secure string.
> Or a hostname if applicable. See [Reverse Proxy](#reverse-proxy)

```yaml
---
services:
signal-api:
image: bbernhard/signal-cli-rest-api
image: bbernhard/signal-cli-rest-api:latest
container_name: signal-api
environment:
- MODE=normal
Expand All @@ -30,7 +29,7 @@ services:
restart: unless-stopped

secured-signal:
image: ghcr.io/codeshelldev/secured-signal-api
image: ghcr.io/codeshelldev/secured-signal-api:latest
container_name: secured-signal
networks:
backend:
Expand All @@ -55,9 +54,8 @@ Take a look at the [traefik](https://github.com/traefik/traefik) implementation:

```yaml
services:
# ...
secured-signal:
image: ghcr.io/codeshelldev/secured-signal-api
image: ghcr.io/codeshelldev/secured-signal-api:latest
container_name: secured-signal
networks:
proxy:
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
services:
signal-api:
image: bbernhard/signal-cli-rest-api
image: bbernhard/signal-cli-rest-api:latest
container_name: signal-api
environment:
- MODE=normal
Expand All @@ -14,7 +13,7 @@ services:
restart: unless-stopped

secured-signal:
image: ghcr.io/codeshelldev/secured-signal-api
image: ghcr.io/codeshelldev/secured-signal-api:latest
container_name: secured-signal
networks:
backend:
Expand Down
3 changes: 1 addition & 2 deletions examples/traefik.docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
services:
# ...
secured-signal:
image: ghcr.io/codeshelldev/secured-signal-api
image: ghcr.io/codeshelldev/secured-signal-api:latest
container_name: secured-signal
networks:
proxy:
Expand Down
4 changes: 2 additions & 2 deletions utils/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func Init(level string) {
fmt.Println("Encountered Error during Log.Init(): err.Error()")
}

Info("Initialized Logger with Level of", logLevel.String())
Info("Initialized Logger with Level of ", logLevel.String())
}

func getLogLevel(level string) zapcore.Level {
Expand Down Expand Up @@ -80,4 +80,4 @@ func Warn(msg ...string) {

func Sync() {
_ = _log.Sync()
}
}