Skip to content

Commit

Permalink
Add hac via service
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jan 20, 2025
1 parent d8e8bcb commit 3144c4d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,26 @@ services:
- com.centurylinklabs.watchtower.enable=true
user: "${UID}:${GID}"
restart: always
hac_via:
image: ghcr.io/dainst/hac_via:latest
volumes:
- ${HAC_VIA_ARCHIVE_DIR}:/archive
- ${HAC_VIA_PREVIEW_DIR}:/previews
- ${ARCHAEOCLOUD_PATH}/aronscans/objectscans/:/published_jpg
- ${ARCHAEOCLOUD_PATH}/S-Arachne/arachne4scans/arachne4webimages/objectscans/:/published_ptif
environment:
- PHX_HOST=images.${SERVER_ADDRESS}
- DATABASE_URL=ecto://arachne:${DB_PASSWORD}@arachne4_db/arachne
- SECRET_KEY_BASE=${HAC_VIA_KEY_BASE}
- ARACHNE_BASE_URL=https://${SERVER_ADDRESS}
labels:
- traefik.enable=true
- traefik.http.routers.hac_via.rule=Host(`images.${SERVER_ADDRESS}`)
- traefik.http.routers.hac_via.entrypoints=websecure
- traefik.http.routers.hac_via.tls.certresolver=myresolver
- traefik.http.services.hac_via.loadbalancer.server.port=4000
- com.centurylinklabs.watchtower.enable=true
restart: always

traefik:
image: traefik:v2.5
Expand Down

0 comments on commit 3144c4d

Please sign in to comment.