version: '3' services: app: entrypoint: [bin/start] image: bigbluebutton/greenlight:v2 container_name: greenlight-v2 hostname: greenlight-v2 env_file: .env restart: unless-stopped expose: - 80 # ports: # - 127.0.0.1:5000:80 # When using external logging # logging: # driver: $LOG_DRIVER # options: # syslog-address: $LOG_ADDRESS # tag: $LOG_TAG volumes: - ./log:/usr/src/app/log # When using sqlite3 as the database # - ./db/production:/usr/src/app/db/production # When using postgresql as the database links: - db networks: bbb: db: image: postgres restart: unless-stopped expose: - 5432 hostname: db # ports: # - 127.0.0.1:5432:5432 volumes: - ./db:/var/lib/postgresql/data environment: - POSTGRES_DB=greenlight_production - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - PGDATA=/var/lib/postgresql/data/pgdata networks: bbb: networks: bbb: external: name: bigbluebutton_mynet