feat: data volume
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
uetchy 2022-01-18 17:02:25 +09:00
parent 1e703bf393
commit 9833393773
3 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
/data/
/.vscode
/.sass-cache
/node_modules/
@ -9,4 +10,4 @@ db.json
public/
.deploy*/
yarn.lock
.drone.secrets
.drone.secrets

View File

@ -7,8 +7,11 @@ services:
environment:
VIRTUAL_HOST: uechi.io
LETSENCRYPT_HOST: uechi.io
volumes:
- "./data:/var/www/html/✨/:ro"
labels:
com.centurylinklabs.watchtower.enable: "true"
networks:
default:
name: webproxy

View File

@ -6,3 +6,5 @@ services:
build: .
ports:
- "8080:80"
volumes:
- "./data:/var/www/html/✨/:ro"