add production config

This commit is contained in:
uetchy 2021-06-20 13:11:53 +09:00
parent 8b685bca52
commit 0164e25b69
3 changed files with 24 additions and 1 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
build:
docker-compose build --pull
push:
docker-compose push
deploy: bulid
docker-compose -f docker-compose.production.yml up -d

View File

@ -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

View File

@ -1,4 +1,4 @@
version: "3" version: "3.0"
services: services:
web: web: