-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
34 lines (33 loc) · 1.06 KB
/
docker-compose.yaml
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
27
28
29
30
31
32
33
34
version: "3.3"
services:
atomstr:
image: mdebus/atomstr
container_name: atomstr
environment:
FETCH_INTERVAL: 15m
METADATA_INTERVAL: 2h
WEBSERVER_PORT: 8061
NIP05_DOMAIN: atomstr.domain.com
DEFAULT_PROFILE_PICTURE_URL: https://void.cat/d/NDrSDe4QMx9jh6bD9LJwcK
RELAYS_TO_PUBLISH_TO: wss://nostr.data.haus
MAX_WORKERS: 5
LOG_LEVEL: INFO
networks:
- proxy
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./atomstr.db:/atomstr.db:Z
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.atomstr.entrypoints=websecure"
- "traefik.http.routers.atomstr.rule=(Host(`atomstr.domain.com`))"
- "traefik.http.routers.atomstr.tls.certresolver=leresolver"
- "traefik.http.routers.atomstr.middlewares=default"
- "traefik.http.routers.atomstr.service=atomstr"
- "traefik.http.services.atomstr.loadbalancer.server.port=8061"
networks:
proxy:
external: true