Initial Codebase (untested)
This commit is contained in:
32
spyda.yml
Normal file
32
spyda.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
spyda:
|
||||
image: r.mills.io/prologic/spyda:latest
|
||||
command: -d /data -s bitcask:///data/spyda.db -u https://spyda.dev
|
||||
volumes:
|
||||
- spyda:/data
|
||||
networks:
|
||||
- traefik
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- "node.hostname == dm6.mills.io"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik"
|
||||
- "traefik.http.services.spyda_spyda.loadbalancer.server.port=8000"
|
||||
- "traefik.http.routers.spyda_spyda.rule=Host(`spyda.dev`)"
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
spyda:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user