github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/conf/docker-compose/server/docker-compose.yml (about)

     1  version: '3.3'
     2  
     3  services:
     4    smart-home-server:
     5      image: e154/smart-home-server:latest
     6      environment:
     7        SERVER_HOST: '0.0.0.0'
     8        SERVER_PORT: 3000
     9        PG_USER: 'smart_home'
    10        PG_PASS: 'smart_home'
    11        PG_HOST: host.docker.internal
    12        PG_NAME: 'smart_home'
    13        PG_PORT: 5432
    14        PG_DEBUG: 'false'
    15        MODE: 'release'
    16        AUTO_MIGRATE: 'true'
    17      stdin_open: true
    18      volumes:
    19        - data:/opt/smart-home-server/conf
    20        - data:/opt/smart-home-server/data
    21        - data:/opt/smart-home-server/snapshots
    22      ports:
    23        - "3000:3000"
    24      tty: true
    25  
    26  volumes:
    27    data: