Adding .drone.yaml
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Brandon Watson 2023-09-12 18:43:23 -05:00
parent 9fdf405504
commit c8a127ddef
3 changed files with 46 additions and 2 deletions

34
.drone.yaml Normal file
View File

@ -0,0 +1,34 @@
kind: pipeline
type: docker
name: default
steps:
- name: Build and Publish
image: plugins/docker
settings:
username:
from_secret: docker_user
password:
from_secret: docker_password
repo: gitea.watsonlabs.net/mautrix-groupme
registry: gitea.watsonlabs.net
dockerfile: Dockerfile
auto_tag: true
when:
branch:
- master
event:
exclude:
- pull_request
- name: Notify
image: drillster/drone-email
settings:
host: 10.44.1.13
username: srvGitea
password:
from_secret: smtp_password
from: drone@watsonlabs.net
skip_verify: true
when:
status:
- failure

3
.gitignore vendored
View File

@ -10,7 +10,6 @@ logs/*
.profile
groupme
*.yaml
config.yaml
!.pre-commit-config.yaml
!example-config.yaml

11
docker-compose.yaml Normal file
View File

@ -0,0 +1,11 @@
version: "3.9"
services:
postgres:
image: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_DB: groupme
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"