Initial Commit.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Reily Siegel 2023-02-02 16:38:58 -05:00
commit 4572fc445a
Signed by: 1114
GPG Key ID: 508A5AD0A50F88AF
3 changed files with 41 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
kind: pipeline
name: compose
type: docker
steps:
- name: deploy
image: docker/compose
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- docker-compose up -d -p ${DRONE_REPO_NAME}
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock
trigger:
branch:
- master

3
README.org Normal file
View File

@ -0,0 +1,3 @@
#+TITLE: Compose service template
Refer to [[https://bookstack.axpdsp.org/books/creating-a-service][documentation]] for using this template.

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
version: "3.8"
services:
whoami:
image: traefik/whoami
container_name: simple-service
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.routers.whoami.rule=Host(`whoami.axpdsp.org`)
- traefik.http.routers.whoami.tls.certresolver=le
networks:
proxy:
name: proxy
external: true