generated from toozej/golang-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
22 lines (22 loc) · 872 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
version: "3"
services:
ghreleases2rss:
container_name: ghreleases2rss
image: toozej/ghreleases2rss:latest
restart: unless-stopped
security_opt:
- no-new-privileges:true
read_only: true
labels:
- "traefik.enable=false"
# labels below for publishing as web service
# - "traefik.docker.network=traefik"
# - "traefik.http.routers.ghreleases2rss.rule=Host(`ghreleases2rss.test`)"
# - "traefik.http.routers.ghreleases2rss.middlewares=http-redirect-https@file,headers@file"
# - "traefik.http.routers.ghreleases2rss-secure.entrypoints=https"
# - "traefik.http.routers.ghreleases2rss-secure.rule=Host(`ghreleases2rss.test`)"
# - "traefik.http.routers.ghreleases2rss-secure.middlewares=headers@file"
# - "traefik.http.routers.ghreleases2rss-secure.tls=true"
# networks:
# - traefik