aboutsummaryrefslogtreecommitdiff
path: root/compose.yml
blob: c4dbb1ed300cab36e5cd616b7a853a1b75919d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
  llostre:
    image: llostre
    restart: unless-stopped
    ports:
      - "8080:8080"
    env_file: .env
    depends_on:
      valkey:
        condition: service_healthy
      porxie:
        condition: service_started

  valkey:
    image: valkey/valkey:9-alpine
    restart: unless-stopped
    command: >
      valkey-server
      ${VALKEY_PASSWORD:+--requirepass ${VALKEY_PASSWORD}}
    ports:
      - "6379:6379"
    #volumes:
    #  - valkey_data:/data
    healthcheck:
      test: ["CMD", "valkey-cli", "ping"]
      interval: 5s
      timeout: 3s
      retries: 10
      start_period: 10s

  porxie:
    image: blooym/porxie:latest
    restart: unless-stopped
    environment:
      PORXIE_SERVER_ADDRESS: "ip:0.0.0.0:6314"
      PORXIE_BLOB_ALLOWED_MIMETYPES: "image/*,video/*"
    ports:
      - "6314:6314"

#volumes:
#  valkey_data: