-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from jmarmstrong1207/docker-script
Add script to quickly build docker image and run container | Improve table of contents linking
- Loading branch information
Showing
3 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
docker build --tag cwa-dev . | ||
mkdir -p build | ||
cp -n docker-compose.yml.dev build/docker-compose.yml | ||
cd build/ | ||
docker compose up -d | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
services: | ||
calibre-web-automated: | ||
image: cwa-dev | ||
container_name: cwa-dev | ||
environment: | ||
- PUID=1000 | ||
- PGID=100 | ||
- TZ=UTC | ||
- DOCKER_MODS=lscr.io/linuxserver/mods:universal-calibre-v7.16.0 | ||
volumes: | ||
- ./folder:/config | ||
- ./cwa-book-ingest:/cwa-book-ingest | ||
- ./calibre-library:/calibre-library | ||
#- ./books:/books #Optional | ||
#- gmail.json.json:/app/calibre-web/gmail.json #Optional | ||
ports: | ||
- 8084:8083 # Change the first number to change the port you want to access the Web UI, not the second | ||
restart: unless-stopped |