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