summaryrefslogtreecommitdiffstats
path: root/pasture.castle.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pasture.castle.yml')
-rw-r--r--pasture.castle.yml72
1 files changed, 72 insertions, 0 deletions
diff --git a/pasture.castle.yml b/pasture.castle.yml
new file mode 100644
index 0000000..bd0ce8b
--- /dev/null
+++ b/pasture.castle.yml
@@ -0,0 +1,72 @@
+
+services:
+ pasture_one_actor:
+ labels:
+ - traefik.enable=false
+ image: pasture-sandcastles
+ build:
+ dockerfile: ./pasture.Dockerfile
+ volumes:
+ - ./volumes/pasture:/opt
+ command: python -m fediverse_pasture.one_actor --port 80 --assets assets
+ networks:
+ pasture:
+ pasture_runner:
+ labels:
+ - traefik.enable=false
+ image: pasture-sandcastles
+ build:
+ dockerfile: ./pasture.Dockerfile
+ volumes:
+ - ./volumes/pasture:/opt
+ - ./work:/work
+ working_dir: /work
+ depends_on:
+ - pasture_one_actor
+ command: /bin/sh
+ stdin_open: true
+ tty: true
+ networks:
+ pasture:
+ pasture_http_signature:
+ labels:
+ - traefik.enable=false
+ image: pasture-sandcastles
+ build:
+ dockerfile: ./pasture.Dockerfile
+ volumes:
+ - ./volumes/pasture:/opt
+ command: python -m fediverse_pasture.http_signature --port 80
+ networks:
+ pasture:
+ pasture_verify_actor:
+ labels:
+ - traefik.http.routers.pasture.rule=Host(`actor.pasture.castle`)
+ - traefik.http.routers.pasture.tls=true
+ - traefik.http.routers.pasture.tls.certresolver=smallstep
+ - traefik.port=80
+ image: pasture-sandcastles
+ build:
+ dockerfile: ./pasture.Dockerfile
+ volumes:
+ - ./volumes/pasture:/opt
+ command: python -m fediverse_pasture.verify_actor --port 80 --domain pasture_verify_actor
+ expose:
+ - 80
+ networks:
+ pasture:
+ fediverse:
+
+ proxy:
+ networks:
+ default:
+ aliases:
+ - actor.pasture.castle
+ fediverse:
+ aliases:
+ - actor.pasture.castle
+
+
+networks:
+ pasture:
+ internal: true \ No newline at end of file