From e7cf3fcb3c81a4451dbb088f4768d3b833ce80dc Mon Sep 17 00:00:00 2001 From: Jenniferplusplus Date: Mon, 13 Nov 2023 19:00:38 -0600 Subject: add config for pasture verify actor --- pasture.castle.yml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 pasture.castle.yml (limited to 'pasture.castle.yml') 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 -- cgit v1.2.3