adding mastodon
This commit is contained in:
@@ -64,11 +64,12 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- internal_network
|
- internal_network
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
test: ['CMD-SHELL',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1"]
|
test: ['CMD-SHELL',"curl -s --noproxy localhost localhost:3344/health | grep -q 'OK' || exit 1"]
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:3000:3000'
|
- '127.0.0.1:3344:3000'
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
@@ -80,7 +81,7 @@ services:
|
|||||||
- traefik.http.routers.mastodonweb.rule=Host(`kvist.knast.cc`)
|
- traefik.http.routers.mastodonweb.rule=Host(`kvist.knast.cc`)
|
||||||
- traefik.http.routers.mastodonweb.entrypoints=websecure
|
- traefik.http.routers.mastodonweb.entrypoints=websecure
|
||||||
- traefik.http.routers.mastodonweb.tls.certresolver=letsencr
|
- traefik.http.routers.mastodonweb.tls.certresolver=letsencr
|
||||||
- traefik.http.services.mastodonweb.loadbalancer.server.port=3000
|
- traefik.http.services.mastodonweb.loadbalancer.server.port=3344
|
||||||
|
|
||||||
streaming:
|
streaming:
|
||||||
# You can uncomment the following lines if you want to not use the prebuilt image, for example if you have local code changes
|
# You can uncomment the following lines if you want to not use the prebuilt image, for example if you have local code changes
|
||||||
@@ -96,9 +97,9 @@ services:
|
|||||||
- internal_network
|
- internal_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
test: ['CMD-SHELL', "curl -s --noproxy localhost localhost:4000/api/v1/streaming/health | grep -q 'OK' || exit 1"]
|
test: ['CMD-SHELL', "curl -s --noproxy localhost localhost:4433/api/v1/streaming/health | grep -q 'OK' || exit 1"]
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:4000:4000'
|
- '127.0.0.1:4433:4000'
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
@@ -107,7 +108,7 @@ services:
|
|||||||
- traefik.http.routers.mastodonstreaming.rule=(Host(`kvist.knast.cc`) && PathPrefix(`/api/v1/streaming`))
|
- traefik.http.routers.mastodonstreaming.rule=(Host(`kvist.knast.cc`) && PathPrefix(`/api/v1/streaming`))
|
||||||
- traefik.http.routers.mastodonstreaming.entrypoints=websecure
|
- traefik.http.routers.mastodonstreaming.entrypoints=websecure
|
||||||
- traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr
|
- traefik.http.routers.mastodonstreaming.tls.certresolver=letsencr
|
||||||
- traefik.http.services.mastodonstreaming.loadbalancer.server.port=4000
|
- traefik.http.services.mastodonstreaming.loadbalancer.server.port=4433
|
||||||
|
|
||||||
sidekiq:
|
sidekiq:
|
||||||
# You can uncomment the following line if you want to not use the prebuilt image, for example if you have local code changes
|
# You can uncomment the following line if you want to not use the prebuilt image, for example if you have local code changes
|
||||||
|
|||||||
Reference in New Issue
Block a user