File size: 591 Bytes
4b5e485
 
 
59879a5
 
4b5e485
 
 
 
 
 
a489e19
4b5e485
73c8372
 
4b5e485
59879a5
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: '3.8'

services:
  geospatial_data_converter:
    image: geospatial_data_converter:latest
    build: .
    ports:
      - "${APP_PORT:-7860}:${APP_PORT:-7860}"
    working_dir: /workspace
    command: [
      "streamlit", "run",
      "/home/appuser/geospatial_data_converter/app.py",
      "--server.port", "${APP_PORT:-7860}",
      "--server.address", "0.0.0.0",
      "--server.enableXsrfProtection=false"
    ]
  test:
    image: geospatial_data_converter:latest  # Use the same image as your main service
    build: .
    working_dir: /home/appuser
    command: ["/bin/bash"]