add production config
This commit is contained in:
parent
8b685bca52
commit
0164e25b69
8
Makefile
Normal file
8
Makefile
Normal 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
|
15
docker-compose.production.yml
Normal file
15
docker-compose.production.yml
Normal 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
|
@ -1,4 +1,4 @@
|
|||||||
version: "3"
|
version: "3.0"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user