Initial Commit.

This commit is contained in:
2023-02-02 17:44:40 -05:00
commit 119a9f5fc9
3 changed files with 41 additions and 0 deletions
+21
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
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
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