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

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/data/
/.vscode /.vscode
/.sass-cache /.sass-cache
/node_modules/ /node_modules/

View File

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

View File

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