Don't need to chown the folders

This commit is contained in:
meskio 2022-12-19 20:16:27 +01:00
parent 747c9bfd6f
commit 9df74c95fa
No known key found for this signature in database
GPG Key ID: 52B8F5AC97A2DA86

3
test
View File

@ -9,10 +9,9 @@ tear_down () {
mkdir tmp mkdir tmp
cat env.sample | sed "s/USER_GROUP.*$/USER_GROUP=`id -u`:`id -g`/" > tmp/.env cat env.sample | sed "s/USER_GROUP.*$/USER_GROUP=`id -u`:`id -g`/" > tmp/.env
cat docker-compose.yml | sed 's/registry.sindominio.net\/wordpress/wordpress/' > tmp/docker-compose.yml cat docker-compose.yml | sed 's/registry.sindominio.net\/wordpress/wordpress/' > tmp/docker-compose.yml
cd tmp
cd tmp
mkdir db uploads mkdir db uploads
chown 1000:1000 db uploads
docker-compose up -d docker-compose up -d