Compare commits

...

4 Commits

Author SHA1 Message Date
Roxie Gibson bde7d46dc0
fix docker compose i guess 2022-02-21 08:07:46 +00:00
Roxie Gibson a50e59677c
forgot to edit depends on 2022-02-21 08:07:45 +00:00
Roxie Gibson 132024cba5
fixed deploy for new secrets 2022-02-21 08:07:45 +00:00
Roxie Gibson dae3d25736
added build files 2022-02-21 08:07:45 +00:00
3 changed files with 46 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
kind: pipeline
type: docker
name: deployment
steps:
- name: docker build hexbomb.gay
image: plugins/docker
settings:
username: thecoopcloud
password:
from_secret: thecoopcloud_password
repo: thecoopcloud/hexbomb.gay
tags: latest
- name: deployment hexbomb.gay
image: thecoopcloud/stack-ssh-deploy:latest
settings:
stack: hexbomb_gay
deploy_key:
from_secret: drone_ssh_swarm.autonomic.zone
rm: true
host: swarm.autonomic.zone
compose: compose.yml
image: thecoopcloud/hexbomb.gay

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:1.21.4
COPY ./ /usr/share/nginx/html

19
compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: "3.8"
services:
web:
image: thecoopcloud/hexbomb.gay:latest
networks:
- proxy
deploy:
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.services.hexbomb-gay.loadbalancer.server.port=80"
- "traefik.http.routers.hexbomb-gay.rule=Host(`www.hexbomb.gay`, `hexbomb.gay`)"
- "traefik.http.routers.hexbomb-gay.entrypoints=web-secure"
- "traefik.http.routers.hexbomb-gay.tls.certresolver=production"
networks:
proxy:
external: true