A Strichliste docker-compose base on nginx's unprivileged, php's fpm and Mariadb's container.
docker build -t ghcr.io/shokinn/strichliste-frontend:develop -f ./docker/frontend/Dockerfile . \
&& docker build -t ghcr.io/shokinn/strichliste-backend:develop -f ./docker/backend/Dockerfile . \
&& docker compose up
Frontend:
docker build -t ghcr.io/shokinn/strichliste-frontend:develop -f ./docker/frontend/Dockerfile .
Backend:
docker build -t ghcr.io/shokinn/strichliste-backend:develop -f ./docker/backend/Dockerfile .
- Go to your directory where your docker-compose.yml is.
- Dump databases:
docker compose exec -T database mariadb sh -c 'exec mysqldump --all-databases -uroot -p"${MARIADB_ROOT_PASSWORD}"' > mariadb-dump-$(date +%F_%H-%M-%S).sql