Config files for hosting with Autonomic #1
24
.drone.yml
Normal file
24
.drone.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: deployment
|
||||
steps:
|
||||
- name: docker build dalmationer.art
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: thecoopcloud
|
||||
password:
|
||||
from_secret: thecoopcloud_password
|
||||
repo: thecoopcloud/dalmationer.art
|
||||
tags: latest
|
||||
|
||||
- name: deployment dalmationer.art
|
||||
image: thecoopcloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
stack: dalmationer-art
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm.autonomic.zone
|
||||
rm: true
|
||||
host: swarm.autonomic.zone
|
||||
compose: compose.yml
|
||||
image: thecoopcloud/dalmationer.art
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM nginx:1.21.4
|
||||
|
||||
COPY ./ /usr/share/nginx/html
|
19
compose.yml
Normal file
19
compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: thecoopcloud/dalmationer.art:latest
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.dalmationer-art.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.dalmationer-art.rule=Host(`dalmationer.art`, `www.dalmationer.art`)"
|
||||
- "traefik.http.routers.dalmationer-art.entrypoints=web-secure"
|
||||
- "traefik.http.routers.dalmationer-art.tls.certresolver=production"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user