Skip to content

Commit

Permalink
added portainer docker-compose template
Browse files Browse the repository at this point in the history
  • Loading branch information
jarno-knaw committed Jul 23, 2024
1 parent 0d7e01b commit 09ac539
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [V1.0.2]

- Added portainer docker-compose template.

## [v1.0.1]

### Fixed
Expand All @@ -24,3 +28,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[unreleased]: https://github.com/knaw-huc/occassio
[v1.0.0]: https://github.com/knaw-huc/occassio/releases/tag/v1.0.0
[v1.0.1]: https://github.com/knaw-huc/occassio/releases/tag/v1.0.1
[v1.0.2]: https://github.com/knaw-huc/occassio/releases/tag/v1.0.2
42 changes: 42 additions & 0 deletions portainer-template-docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
services:
es-container:
container_name: es-container
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
environment:
- xpack.security.enabled=false
- "discovery.type=single-node"
volumes:
- occassio_es:/usr/share/elasticsearch/data
networks:
- traefik-public
ports:
- 9200:9200
deploy:
resources:
limits:
memory: 4GB


occassio-app:
image: ghcr.io/knaw-huc/occassio:v1.0.2
container_name: occassio-app
environment:
ES_URI: es-container
labels:
- "traefik.enable=true"
- $TRAEFIK_PORT
- $TRAEFIK_ENTRYPOINTS
- $TRAEFIK_HOST
expose:
- 5000
networks:
- traefik-public


networks:
traefik-public:
external: true

volumes:
occassio_es:
external: true

0 comments on commit 09ac539

Please sign in to comment.