File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM alpine
2
2
3
+ ENV MIRROR=http://dl-cdn.alpinelinux.org/alpine
4
+
3
5
# Add support for TZ environment variable
4
6
RUN apk add --no-cache tzdata
5
7
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ See [`text/template`](https://pkg.go.dev/text/template) on how to template.
154
154
155
155
# # Docker
156
156
157
- # ## docker-compose
157
+ # ## Docker Compose
158
158
159
159
` ` ` yaml
160
160
version: "3"
@@ -164,7 +164,7 @@ services:
164
164
container_name: smtpbridge
165
165
environment:
166
166
TZ: Etc/UTC
167
- SMTPBRIDGE_CONFIG_YAML: | # Config option 1
167
+ SMTPBRIDGE_CONFIG_YAML: | # Config by embedding YAML
168
168
endpoints:
169
169
hello_world:
170
170
kind: console
@@ -175,12 +175,12 @@ services:
175
175
- 1025:1025
176
176
- 8080:8080
177
177
volumes:
178
- - /path/to/config:/config # Config option 2
178
+ - /path/to/config:/config # Config by creating config.yaml file in /config
179
179
- /path/to/data:/data
180
180
restart: unless-stopped
181
181
` ` `
182
182
183
- # ## docker cli
183
+ # ## Docker CLI
184
184
185
185
` ` ` sh
186
186
docker run -d \
You can’t perform that action at this time.
0 commit comments