Single binary build (#10)

Single binary build
Use go rice for embedding the static files and templates to the binary file
This commit is contained in:
Khanh Ngo 2020-05-21 15:51:24 +07:00 committed by GitHub
parent b741a915ae
commit 9a27cc366f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 169 additions and 34 deletions

View file

@ -2,7 +2,8 @@ version: '3'
services:
wg:
image: ngoduykhanh/wireguard-ui:latest
#image: ngoduykhanh/wireguard-ui:latest
image: wgui:latest
container_name: wgui
ports:
- 5000:5000
@ -12,4 +13,4 @@ services:
max-size: 50m
volumes:
- ./db:/app/db
- /etc/wireguard:/etc/wireguard
# - /etc/wireguard:/etc/wireguard