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

This commit is contained in:
2023-02-02 17:16:21 -05:00
commit 4572fc445a
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 up -d -p ${DRONE_REPO_NAME}
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock
trigger:
branch:
- master
+3
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
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