Skip to content

Commit 5125858

Browse files
fix: Dockerfile
1 parent 6f0c7b8 commit 5125858

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM alpine
22

3+
ENV MIRROR=http://dl-cdn.alpinelinux.org/alpine
4+
35
# Add support for TZ environment variable
46
RUN apk add --no-cache tzdata
57

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ See [`text/template`](https://pkg.go.dev/text/template) on how to template.
154154

155155
## Docker
156156

157-
### docker-compose
157+
### Docker Compose
158158

159159
```yaml
160160
version: "3"
@@ -164,7 +164,7 @@ services:
164164
container_name: smtpbridge
165165
environment:
166166
TZ: Etc/UTC
167-
SMTPBRIDGE_CONFIG_YAML: | # Config option 1
167+
SMTPBRIDGE_CONFIG_YAML: | # Config by embedding YAML
168168
endpoints:
169169
hello_world:
170170
kind: console
@@ -175,12 +175,12 @@ services:
175175
- 1025:1025
176176
- 8080:8080
177177
volumes:
178-
- /path/to/config:/config # Config option 2
178+
- /path/to/config:/config # Config by creating config.yaml file in /config
179179
- /path/to/data:/data
180180
restart: unless-stopped
181181
```
182182

183-
### docker cli
183+
### Docker CLI
184184

185185
```sh
186186
docker run -d \

0 commit comments

Comments
 (0)