File size: 626 Bytes
3502a78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: "3.8"

services:
  server:
    image: ghcr.io/divyam234/teldrive/server:latest
    restart: always
    container_name: server
    volumes:
      - ./sessions:/app/sessions:rw
      - ./database:/app/database
    env_file: .env
    ports:
      - 8080

  client:
    image: ghcr.io/divyam234/teldrive/client:latest
    restart: always
    container_name: client
    ports:
      - 3000
      
  haproxy:
    image: haproxy:latest
    volumes:
    - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
    # ports:
    #   - 80:80
    #   - 443:443
    ports:
      - 8000:8000
    depends_on:
     - server
     - client