Initial clean commit
This commit is contained in:
56
docker-compose.yml
Normal file
56
docker-compose.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
services:
|
||||
auctiora:
|
||||
user: "1000:1000"
|
||||
build:
|
||||
context: /opt/apps/auctiora
|
||||
dockerfile: Dockerfile
|
||||
container_name: auctiora
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik_net
|
||||
environment:
|
||||
# Database configuration
|
||||
- AUCTION_DATABASE_PATH=/mnt/okcomputer/output/cache.db
|
||||
- AUCTION_IMAGES_PATH=/mnt/okcomputer/output/images
|
||||
|
||||
# Notification configuration
|
||||
# - AUCTION_NOTIFICATION_CONFIG=desktop
|
||||
- AUCTION_NOTIFICATION_CONFIG=smtp:michael.bakker1986@gmail.com:agrepolhlnvhipkv:michael.bakker1986@gmail.com
|
||||
# Quarkus configuration
|
||||
- QUARKUS_HTTP_PORT=8081
|
||||
- QUARKUS_HTTP_HOST=0.0.0.0
|
||||
- QUARKUS_LOG_CONSOLE_LEVEL=INFO
|
||||
|
||||
# Scheduler configuration (cron expressions)
|
||||
- AUCTION_WORKFLOW_SCRAPER_IMPORT_CRON=0 */30 * * * ?
|
||||
- AUCTION_WORKFLOW_IMAGE_PROCESSING_CRON=0 0 * * * ?
|
||||
- AUCTION_WORKFLOW_BID_MONITORING_CRON=0 */15 * * * ?
|
||||
- AUCTION_WORKFLOW_CLOSING_ALERTS_CRON=0 */5 * * * ?
|
||||
|
||||
volumes:
|
||||
# Mount database and images directory1
|
||||
- shared-auction-data:/mnt/okcomputer/output
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.auctiora.rule=Host(`auctiora.appmodel.nl`)"
|
||||
- "traefik.http.routers.auctiora.entrypoints=websecure"
|
||||
- "traefik.http.routers.auctiora.tls=true"
|
||||
- "traefik.http.routers.auctiora.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.auctiora.loadbalancer.server.port=8081"
|
||||
|
||||
#healthcheck:
|
||||
# test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/q/health/live"]
|
||||
# interval: 30s
|
||||
# timeout: 3s
|
||||
# retries: 3
|
||||
# start_period: 10s
|
||||
|
||||
networks:
|
||||
traefik_net:
|
||||
external: true
|
||||
name: traefik_net
|
||||
|
||||
volumes:
|
||||
shared-auction-data:
|
||||
external: true
|
||||
Reference in New Issue
Block a user