Initial Commit.

This commit is contained in:
Reily Siegel 2023-02-02 16:38:58 -05:00
commit 119a9f5fc9
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 -p ${DRONE_REPO_NAME} up -d
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
Refer to the [[https://bookstack.axpdsp.org/books/service-management/chapter/creating-a-new-compose-file][service management documentation]].

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