mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-26 22:40:21 +00:00
add pictrs and iframely, read docker hub login from secrets
This commit is contained in:
parent
ccd26bfcd7
commit
a455e8c0ab
1 changed files with 10 additions and 5 deletions
15
.drone.yml
15
.drone.yml
|
@ -86,22 +86,27 @@ steps:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: docker/prod/Dockerfile
|
dockerfile: docker/prod/Dockerfile
|
||||||
#username: kevinbacon
|
username:
|
||||||
#password: pa55word
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
repo: dessalines/lemmy
|
repo: dessalines/lemmy
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
||||||
# TODO: also need to add more databases for federation test
|
|
||||||
# (or use multiple DBs in the same postgres instance)
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
image: postgres:12-alpine
|
image: postgres:12-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: lemmy
|
POSTGRES_USER: lemmy
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
detach: true
|
|
||||||
|
- name: pictrs
|
||||||
|
image: asonix/pictrs:v0.2.5-r0
|
||||||
|
|
||||||
|
- name: iframely
|
||||||
|
image: dogbin/iframely:latest
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dieselcli
|
- name: dieselcli
|
||||||
|
|
Loading…
Reference in a new issue