diff options
author | Jenniferplusplus <contact@jenniferplusplus.com> | 2023-11-13 19:00:38 -0600 |
---|---|---|
committer | Jenniferplusplus <contact@jenniferplusplus.com> | 2023-11-13 19:00:38 -0600 |
commit | e7cf3fcb3c81a4451dbb088f4768d3b833ce80dc (patch) | |
tree | 0132af6e5adb3d5b84bab2104f44be31d99dbef6 /pasture.castle.yml | |
parent | 64c1d42dba333159ff57400c0496f81d07e64d82 (diff) | |
download | sandcastles-e7cf3fcb3c81a4451dbb088f4768d3b833ce80dc.tar.gz sandcastles-e7cf3fcb3c81a4451dbb088f4768d3b833ce80dc.tar.bz2 sandcastles-e7cf3fcb3c81a4451dbb088f4768d3b833ce80dc.zip |
add config for pasture verify actor
Diffstat (limited to 'pasture.castle.yml')
-rw-r--r-- | pasture.castle.yml | 72 |
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 |