
########
# app data
########
app_LightDB_data:
  image: docker.alphabets.cn/data:0.0.1
  container_name: app_LightDB_data
  volumes:
   - /data/LightDB

########
# app
########
app_LightDB:
  image: docker.alphabets.cn/light:0.0.5
  container_name: app_LightDB
  hostname: app_LightDB
  restart: always
  ports:
   - "20000:7000"
  environment:
    APPNAME: LightDB
    APPSOURCE: https://root:alphabets@git.alphabets.cn/root/LightAdmin.git
    LIGHTDB_HOST: db
    LIGHTDB_PORT: 57017
    LIGHTDB_USER: light
    LIGHTDB_PASS: 2e35501c2b7e
    MASTER: true
  command: --init
  working_dir: /data/LightDB
  volumes_from:
   - app_LightDB_data

