diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..056fec1 --- /dev/null +++ b/.drone.yaml @@ -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 diff --git a/.gitignore b/.gitignore index 63d61a7..62462c5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ logs/* .profile groupme - -*.yaml +config.yaml !.pre-commit-config.yaml !example-config.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..e3193bc --- /dev/null +++ b/docker-compose.yaml @@ -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"