add Docker and Drone boilerplate
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Lexi / Zoe 2020-06-28 17:20:42 +02:00
parent 5512a19e1f
commit 4da6e4b064
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
6 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,10 @@
version: '3'
services:
web:
build: ..
restart: always
ports:
- 8080:80
volumes:
- ../:/var/www/

View file

@ -0,0 +1,17 @@
version: '3'
services:
web:
build: ..
restart: always
networks:
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.notecat.rule=Host(`notecat.dev.0xbd.space`)
- traefik.http.routers.notecat.tls=true
- traefik.http.routers.notecat.tls.certresolver=letsencrypt
networks:
traefik:
external: true