This commit is contained in:
parent
9fdf405504
commit
5c231cbaba
34
.drone.yaml
Normal file
34
.drone.yaml
Normal 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/watsonb8/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
3
.gitignore
vendored
@ -10,7 +10,6 @@ logs/*
|
|||||||
.profile
|
.profile
|
||||||
|
|
||||||
groupme
|
groupme
|
||||||
|
config.yaml
|
||||||
*.yaml
|
|
||||||
!.pre-commit-config.yaml
|
!.pre-commit-config.yaml
|
||||||
!example-config.yaml
|
!example-config.yaml
|
||||||
|
11
docker-compose.yaml
Normal file
11
docker-compose.yaml
Normal 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"
|
Loading…
Reference in New Issue
Block a user