Skip to content

Commit

Permalink
Add docker-compose.yml (#367)
Browse files Browse the repository at this point in the history
* Add docker-compose.yml

* Update .dockerignore
  • Loading branch information
waybackarchiver authored Apr 16, 2023
1 parent c379fb4 commit be5fdb8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
# license that can be found in the LICENSE file.
#
#.git
.docs/
.github/
.semgrepignore
build/binary
docs/
install.sh
mkdocs.yml
snapcraft.yaml
requirements.txt
renovate.json
codecov.yml
cosign.pub
42 changes: 42 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2023 Wayback Archiver. All rights reserved.
# Use of this source code is governed by the GNU GPL v3
# license that can be found in the LICENSE file.

version: "3"

services:
browser:
image: chromedp/headless-shell
ports:
- 9222:9222
networks:
- back-tier
volumes:
- /dev/shm:/dev/shm
restart: unless-stopped
hostname: browser

wayback:
image: wabarc/wayback
ports:
- 8964:8964
- 80:80
networks:
- back-tier
volumes:
- storage:/data
depends_on:
- browser
environment:
- WAYBACK_STORAGE_DIR=/data
- CHROME_REMOTE_ADDR=browser:9222
command: wayback -d web
restart: unless-stopped
build: ./

networks:
back-tier:

volumes:
storage:
driver: local
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- markdownlint-disable -->
## [Unreleased]

### Added
- Add docker-compose.yml ([#367](https://github.com/wabarc/wayback/pull/367))

## [0.19.1] - 2023-03-21

### Fixed
Expand Down

0 comments on commit be5fdb8

Please sign in to comment.