This commit is contained in:
parent
152610f394
commit
8776b16c4a
@ -4,6 +4,7 @@ export MASTODON_API_BASE_URL=social.lumbung.space
|
|||||||
export APP_LOG_LEVEL=info
|
export APP_LOG_LEVEL=info
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
|
export STACK_NAME=publish_lumbung_space
|
||||||
export DOMAIN=publish.lumbung.space
|
export DOMAIN=publish.lumbung.space
|
||||||
export ENTRYPOINT_CONF_VERSION=v1
|
export ENTRYPOINT_CONF_VERSION=v1
|
||||||
export SECRET_MASTODON_ACCESS_TOKEN=v1
|
export SECRET_MASTODON_ACCESS_TOKEN=v1
|
||||||
|
10
compose.yml
10
compose.yml
@ -6,6 +6,8 @@ services:
|
|||||||
image: "decentral1se/pubspace:latest"
|
image: "decentral1se/pubspace:latest"
|
||||||
environment:
|
environment:
|
||||||
- MASTODON_ACCESS_TOKEN_FILE=/run/secrets/access_token
|
- MASTODON_ACCESS_TOKEN_FILE=/run/secrets/access_token
|
||||||
|
- MASTODON_API_BASE_URL
|
||||||
|
- APP_LOG_LEVEL
|
||||||
secrets:
|
secrets:
|
||||||
- access_token
|
- access_token
|
||||||
networks:
|
networks:
|
||||||
@ -23,10 +25,10 @@ services:
|
|||||||
order: start-first
|
order: start-first
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.kcp.loadbalancer.server.port=8000"
|
- "traefik.http.services.pubspace.loadbalancer.server.port=8000"
|
||||||
- "traefik.http.routers.kcp.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.pubspace.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.kcp.entrypoints=web-secure"
|
- "traefik.http.routers.pubspace.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.kcp.tls.certresolver=production"
|
- "traefik.http.routers.pubspace.tls.certresolver=production"
|
||||||
command: |
|
command: |
|
||||||
uvicorn
|
uvicorn
|
||||||
--host 0.0.0.0
|
--host 0.0.0.0
|
||||||
|
Reference in New Issue
Block a user