-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
notea.yml
26 lines (24 loc) · 1.02 KB
/
notea.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# DOMAIN=example.com docker stack deploy -c notea.yml notea
services:
web:
image: cinwell/notea:${VERSION:-0.3.6}
environment:
- STORE_ACCESS_KEY=${STORE_ACCESS_KEY:-Q3AM3UQ867SPQQA43P2F}
- STORE_SECRET_KEY=${STORE_SECRET_KEY:-zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG}
- STORE_BUCKET=${STORE_BUCKET:-notea}
- STORE_END_POINT=${STORE_END_POINT:-http://play.minio.io}
- STORE_FORCE_PATH_STYLE=true
- PASSWORD=${PASSWORD:-myp@ssw0rd}
- COOKIE_SECURE=${COOKIE_SECURE:-true}
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.notea-${NUMBER:-1}.rule=Host(`${DOMAIN:-notea.localhost}`)
- traefik.http.routers.notea-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.notea-${NUMBER:-1}.service=notea-${NUMBER:-1}
- traefik.http.routers.notea-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.notea-${NUMBER:-1}.loadbalancer.server.port=3000
networks:
default:
external: true
name: traefik-net