Pass env vars, push does build now

This commit is contained in:
decentral1se 2021-06-16 15:54:32 +02:00
parent 5b4fe5fc54
commit 0aa5c1b625
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 6 additions and 4 deletions

View File

@ -5,10 +5,12 @@ services:
app: app:
image: "decentral1se/pubspace:latest" image: "decentral1se/pubspace:latest"
environment: environment:
- MASTODON_ACCESS_TOKEN_FILE=/run/secrets/access_token
- NEXTCLOUD_APP_PASSWORD_FILE=/run/secrets/app_password
- MASTODON_API_BASE_URL
- APP_LOG_LEVEL - APP_LOG_LEVEL
- MASTODON_ACCESS_TOKEN_FILE=/run/secrets/access_token
- MASTODON_API_BASE_URL
- NEXTCLOUD_API_BASE_URL
- NEXTCLOUD_APP_PASSWORD_FILE=/run/secrets/app_password
- NEXTCLOUD_USER
secrets: secrets:
- access_token - access_token
- app_password - app_password

View File

@ -12,5 +12,5 @@ run:
build: build:
@docker build -t decentral1se/pubspace . @docker build -t decentral1se/pubspace .
push: push: build
@docker push decentral1se/pubspace @docker push decentral1se/pubspace