Skip to content

Commit

Permalink
fix(system): separate data and config folders
Browse files Browse the repository at this point in the history
  • Loading branch information
s4mpl3d committed May 8, 2024
1 parent 0750f05 commit 1b8bc78
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions commands/system/nuke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ function system:nuke() {
system:destroy

_logRed "Removing data"
cd ${ROOT_DIR}
sudo find ./data/* -maxdepth 1 -not -name .gitkeep -exec rm -rf {} ';'
sudo rm -rf ${DATA_DIR}/*

_logGreen "Finished nuking successfully"
}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./data/reverseproxy/etc/nginx/certs:/etc/nginx/certs:ro
- ./data/reverseproxy/etc/nginx/vhost.d:/etc/nginx/vhost.d:ro
- ./data/reverseproxy/etc/nginx/conf.d/dde.conf:/etc/nginx/conf.d/dde.conf:ro
- ./config/reverseproxy/etc/nginx/conf.d/dde.conf:/etc/nginx/conf.d/dde.conf:ro
hostname: reverseproxy
domainname: test
container_name: dde_reverseproxy
Expand Down

0 comments on commit 1b8bc78

Please sign in to comment.