diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bee3bc0 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +build: + docker-compose build --pull + +push: + docker-compose push + +deploy: bulid + docker-compose -f docker-compose.production.yml up -d \ No newline at end of file diff --git a/docker-compose.production.yml b/docker-compose.production.yml new file mode 100644 index 0000000..a2b4ab7 --- /dev/null +++ b/docker-compose.production.yml @@ -0,0 +1,15 @@ +version: "3.0" + +services: + web: + image: ghcr.io/uetchy/uechi.io + container_name: uechi.io + environment: + VIRTUAL_HOST: uechi.io + LETSENCRYPT_HOST: uechi.io + labels: + com.centurylinklabs.watchtower.enable: "true" +networks: + default: + name: webproxy + external: true diff --git a/docker-compose.yml b/docker-compose.yml index 22289e3..d26fcac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3" +version: "3.0" services: web: