summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mastodon.castle.yml11
-rw-r--r--pasture.castle.yml9
-rw-r--r--volumes/proxy/traefik.toml1
3 files changed, 4 insertions, 17 deletions
diff --git a/mastodon.castle.yml b/mastodon.castle.yml
index df83712..597caf2 100644
--- a/mastodon.castle.yml
+++ b/mastodon.castle.yml
@@ -18,6 +18,7 @@ services:
- traefik.http.routers.mastodon.tls=true
- traefik.http.routers.mastodon.tls.certresolver=smallstep
- traefik.port=3000
+ - traefik.enable=true
depends_on:
- mastodon_db
- mastodon_es
@@ -43,8 +44,6 @@ services:
- WEB_DOMAIN=mastodon.castle
mastodon-streaming:
- labels:
- - traefik.enable=false
depends_on:
- mastodon
image: docker.io/bitnami/mastodon:4
@@ -57,8 +56,6 @@ services:
- MASTODON_ELASTICSEARCH_PASSWORD=bitnami123
- MASTODON_REDIS_HOST=mastodon_redis
mastodon-sidekiq:
- labels:
- - traefik.enable=false
depends_on:
- mastodon
image: docker.io/bitnami/mastodon:4
@@ -74,8 +71,6 @@ services:
- MASTODON_REDIS_HOST=mastodon_redis
- MASTODON_DATABASE_HOST=mastodon_db
mastodon_db:
- labels:
- - traefik.enable=false
image: docker.io/bitnami/postgresql:16
networks:
- mastodon
@@ -86,8 +81,6 @@ services:
- POSTGRESQL_USERNAME=bn_mastodon
- POSTGRESQL_PASSWORD=bitnami1
mastodon_redis:
- labels:
- - traefik.enable=false
image: docker.io/bitnami/redis:7.0
volumes:
- 'redis_data:/bitnami/redis'
@@ -96,8 +89,6 @@ services:
environment:
- ALLOW_EMPTY_PASSWORD=yes
mastodon_es:
- labels:
- - traefik.enable=false
image: docker.io/bitnami/elasticsearch:8
networks:
- mastodon
diff --git a/pasture.castle.yml b/pasture.castle.yml
index bd0ce8b..516daf1 100644
--- a/pasture.castle.yml
+++ b/pasture.castle.yml
@@ -1,8 +1,6 @@
services:
pasture_one_actor:
- labels:
- - traefik.enable=false
image: pasture-sandcastles
build:
dockerfile: ./pasture.Dockerfile
@@ -12,14 +10,11 @@ services:
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
@@ -29,8 +24,6 @@ services:
networks:
pasture:
pasture_http_signature:
- labels:
- - traefik.enable=false
image: pasture-sandcastles
build:
dockerfile: ./pasture.Dockerfile
@@ -40,11 +33,13 @@ services:
networks:
pasture:
pasture_verify_actor:
+ container_name: actor.pasture.castle
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
+ - traefik.enable=true
image: pasture-sandcastles
build:
dockerfile: ./pasture.Dockerfile
diff --git a/volumes/proxy/traefik.toml b/volumes/proxy/traefik.toml
index c6d2e96..034461e 100644
--- a/volumes/proxy/traefik.toml
+++ b/volumes/proxy/traefik.toml
@@ -19,6 +19,7 @@
[providers.docker]
watch = true
network = "fediverse"
+ exposedByDefault = false
[providers.file]
filename = "/etc/traefik/traefik_dynamic.toml"