Initial Commit.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
commit
607612d88d
|
|
@ -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 -dp $DRONE_REPO_NAME
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#+TITLE: Compose service template
|
||||||
|
|
||||||
|
Refer to [[https://bookstack.axpdsp.org/books/creating-a-service][documentation]] for using this template.
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue