1 Commits

Author SHA1 Message Date
01d23f94d7 chore: publish 0.1.0+0.16.6 release 2022-08-21 00:28:20 +02:00
6 changed files with 20 additions and 27 deletions

BIN
.compose.yml.swp Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
image: decentral1se/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: lemmy
@ -27,17 +27,11 @@ trigger:
- main
# ---
# kind: pipeline
name: generate recipe catalogue
steps:
- name: release a new version
image: plugins/downstream
settings:
server: https://build.coopcloud.tech
token:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
trigger:
event: tag
# name: recipe release
# steps:
# - name: release a new version
# image: thecoopcloud/drone-abra:latest
# settings:
# command: recipe lemmy release
# deploy_key:
# from_secret: abra_bot_deploy_key

View File

@ -10,7 +10,7 @@
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Tests**: 2
* **Tests**: No
* **SSO**: No
<!-- endmetadata -->

View File

@ -1,3 +1,3 @@
export NGINX_CONF_VERSION=v5
export ENTRYPOINT_APP_VERSION=v3
export ENTRYPOINT_APP_VERSION=v2
export CONFIG_HJSON_VERSION=v4

View File

@ -3,8 +3,7 @@ version: "3.8"
services:
app:
user: 0:0
image: dessalines/lemmy:0.18.3
image: dessalines/lemmy:0.16.6
environment:
- RUST_LOG="warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info"
- DOMAIN
@ -35,19 +34,19 @@ services:
restart_policy:
condition: on-failure
labels:
- "coop-cloud.${STACK_NAME}.version=0.2.0+0.18.3"
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.16.6"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8536/api/v3/site"]
interval: 30s
timeout: 10s
retries: 10
start_period: 5m
start_period: 1m
ui:
image: dessalines/lemmy-ui:0.18.3
image: dessalines/lemmy-ui:0.16.6
environment:
- "LEMMY_UI_LEMMY_INTERNAL_HOST=${STACK_NAME}_app:8536"
- "LEMMY_UI_LEMMY_EXTERNAL_HOST=${DOMAIN}"
- "LEMMY_INTERNAL_HOST=${STACK_NAME}_app:8536"
- "LEMMY_EXTERNAL_HOST=${DOMAIN}"
# - LEMMY_HTTPS=true
networks:
- backend
@ -61,7 +60,7 @@ services:
start_period: 1m
db:
image: postgres:15-alpine
image: postgres:12-alpine
environment:
- POSTGRES_USER=lemmy
- POSTGRES_DB=lemmy
@ -75,7 +74,7 @@ services:
pictrs:
image: asonix/pictrs:0.4.0-beta.19
image: asonix/pictrs:0.3.0-beta.12-r1
user: 991:991
networks:
- backend

View File

@ -5,4 +5,4 @@ if [ ! -f /config/config.hjson ]; then
fi
# https://github.com/LemmyNet/lemmy/blob/main/docker/prod/Dockerfile
su lemmy -s /bin/sh -c /app/lemmy
/app/lemmy