Set mastodon web VIRTUAL_PATH to /
This commit is contained in:
parent
77e797355c
commit
cebb80fa12
|
@ -70,6 +70,7 @@
|
||||||
environment:
|
environment:
|
||||||
VIRTUAL_HOST: "{{ mastodon.domain }}"
|
VIRTUAL_HOST: "{{ mastodon.domain }}"
|
||||||
VIRTUAL_PORT: "3000"
|
VIRTUAL_PORT: "3000"
|
||||||
|
VIRTUAL_PATH: "/"
|
||||||
LETSENCRYPT_HOST: "{{ mastodon.domain }}"
|
LETSENCRYPT_HOST: "{{ mastodon.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||||
|
|
||||||
|
@ -83,9 +84,9 @@
|
||||||
- internal_network
|
- internal_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# prettier-ignore
|
# prettier-ignore
|
||||||
# FIXME: locahost:4000
|
|
||||||
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
||||||
expose: 4000
|
ports:
|
||||||
|
- '127.0.0.1:4000:4000'
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
@ -93,8 +94,6 @@
|
||||||
VIRTUAL_HOST: "{{ mastodon.domain }}"
|
VIRTUAL_HOST: "{{ mastodon.domain }}"
|
||||||
VIRTUAL_PORT: "4000"
|
VIRTUAL_PORT: "4000"
|
||||||
VIRTUAL_PATH: "/api/v1/streaming"
|
VIRTUAL_PATH: "/api/v1/streaming"
|
||||||
LETSENCRYPT_HOST: "{{ mastodon.domain }}"
|
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
||||||
|
|
||||||
sidekiq:
|
sidekiq:
|
||||||
image: "tootsuite/mastodon:{{ mastodon_version }}"
|
image: "tootsuite/mastodon:{{ mastodon_version }}"
|
||||||
|
|
Loading…
Reference in a new issue