This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
bookstack/start.sh

23 lines
589 B
Bash
Executable file

#!/bin/bash
podman pod create \
-p 3010:80 \
--replace \
"bookstack"
podman run \
-d \
--pod "bookstack" \
--name "bookstack_db" \
--env-file "$ENV_FILE_DIR"/bookstack-db.env \
--mount type=bind,source="$APP_DATA_DIR"/bookstack-db,target=/var/lib/mysql \
"spad-bookstack-db:$IMAGE_VERSION" \
--port 3307
podman run \
-d \
--pod "bookstack" \
--name "bookstack_app" \
--env-file "$ENV_FILE_DIR"/bookstack-app.env \
--mount type=bind,source="$APP_DATA_DIR"/bookstack-app,target=/config \
"spad-bookstack-app:$IMAGE_VERSION"